summaryrefslogtreecommitdiff
path: root/test/tests/link-ignore-missing.bash
blob: 4978279ae9f094cf4f14e4a7d478c2c3f847f996 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
'