1
0
Fork 0
mirror of synced 2024-11-17 05:55:34 -05:00
dotbot/test/tests/link-glob-ambiguous.bash
2018-04-13 08:49:02 -04:00

45 lines
592 B
Bash

test_description='link glob ambiguous'
. '../test-lib.bash'
test_expect_success 'setup' '
mkdir ${DOTFILES}/bin
'
test_expect_failure 'run 1' '
run_dotbot <<EOF
- link:
~/bin/:
path: bin
glob: true
EOF
'
test_expect_failure 'test 1' '
test -d ~/bin
'
test_expect_failure 'run 2' '
run_dotbot <<EOF
- link:
~/bin/:
path: bin/
glob: true
EOF
'
test_expect_failure 'test 2' '
test -d ~/bin
'
test_expect_success 'run 3' '
run_dotbot <<EOF
- link:
~/bin:
path: bin
glob: true
EOF
'
test_expect_success 'test 3' '
test -d ~/bin
'