1
0
Fork 0
mirror of synced 2024-11-04 16:28:56 -05:00
dotbot/test/tests/link-glob-ambiguous.bash

46 lines
592 B
Bash
Raw Normal View History

2018-04-06 12:39:57 -04:00
test_description='link glob ambiguous'
. '../test-lib.bash'
test_expect_success 'setup' '
mkdir ${DOTFILES}/foo
2018-04-06 12:39:57 -04:00
'
test_expect_failure 'run 1' '
run_dotbot <<EOF
- link:
~/foo/:
path: foo
2018-04-06 12:39:57 -04:00
glob: true
EOF
'
test_expect_failure 'test 1' '
test -d ~/foo
2018-04-06 12:39:57 -04:00
'
test_expect_failure 'run 2' '
run_dotbot <<EOF
- link:
~/foo/:
path: foo/
2018-04-06 12:39:57 -04:00
glob: true
EOF
'
test_expect_failure 'test 2' '
test -d ~/foo
2018-04-06 12:39:57 -04:00
'
test_expect_success 'run 3' '
run_dotbot <<EOF
- link:
~/foo:
path: foo
2018-04-06 12:39:57 -04:00
glob: true
EOF
'
test_expect_success 'test 3' '
test -d ~/foo
2018-04-06 12:39:57 -04:00
'