Fix tests on Travis CI
The tests were failing due to the '~/bin' directory already existing on the machine. This patch changes the tests to use the directory name 'foo'.
This commit is contained in:
parent
ee480d931b
commit
972e80f188
1 changed files with 10 additions and 10 deletions
|
@ -2,44 +2,44 @@ test_description='link glob ambiguous'
|
||||||
. '../test-lib.bash'
|
. '../test-lib.bash'
|
||||||
|
|
||||||
test_expect_success 'setup' '
|
test_expect_success 'setup' '
|
||||||
mkdir ${DOTFILES}/bin
|
mkdir ${DOTFILES}/foo
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_failure 'run 1' '
|
test_expect_failure 'run 1' '
|
||||||
run_dotbot <<EOF
|
run_dotbot <<EOF
|
||||||
- link:
|
- link:
|
||||||
~/bin/:
|
~/foo/:
|
||||||
path: bin
|
path: foo
|
||||||
glob: true
|
glob: true
|
||||||
EOF
|
EOF
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_failure 'test 1' '
|
test_expect_failure 'test 1' '
|
||||||
test -d ~/bin
|
test -d ~/foo
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_failure 'run 2' '
|
test_expect_failure 'run 2' '
|
||||||
run_dotbot <<EOF
|
run_dotbot <<EOF
|
||||||
- link:
|
- link:
|
||||||
~/bin/:
|
~/foo/:
|
||||||
path: bin/
|
path: foo/
|
||||||
glob: true
|
glob: true
|
||||||
EOF
|
EOF
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_failure 'test 2' '
|
test_expect_failure 'test 2' '
|
||||||
test -d ~/bin
|
test -d ~/foo
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_success 'run 3' '
|
test_expect_success 'run 3' '
|
||||||
run_dotbot <<EOF
|
run_dotbot <<EOF
|
||||||
- link:
|
- link:
|
||||||
~/bin:
|
~/foo:
|
||||||
path: bin
|
path: foo
|
||||||
glob: true
|
glob: true
|
||||||
EOF
|
EOF
|
||||||
'
|
'
|
||||||
|
|
||||||
test_expect_success 'test 3' '
|
test_expect_success 'test 3' '
|
||||||
test -d ~/bin
|
test -d ~/foo
|
||||||
'
|
'
|
||||||
|
|
Loading…
Reference in a new issue