1
0
Fork 0
mirror of synced 2024-11-25 17:45:34 -05:00
dotbot/test/tests/link-ignore-missing.bash

24 lines
372 B
Bash
Raw Normal View History

2018-05-25 16:04:04 -04:00
test_description='link is created even if source is missing'
. '../test-lib.bash'
test_expect_failure 'run' '
run_dotbot <<EOF
- link:
~/missing_link:
path: missing
EOF
'
test_expect_success 'run 2' '
run_dotbot <<EOF
- link:
~/missing_link:
path: missing
ignore-missing: true
EOF
'
test_expect_success 'test' '
test -L ~/missing_link
'