diff options
author | Anish Athalye <me@anishathalye.com> | 2018-04-06 22:37:52 +0530 |
---|---|---|
committer | Anish Athalye <me@anishathalye.com> | 2018-04-13 08:49:02 -0400 |
commit | 972e80f18850d0cd45f22d2a4c14320f3cd204c6 (patch) | |
tree | b2545b0ca9eb6a7a141a898b0a9d15896210a90a /test | |
parent | ee480d931baa6f4e80e59b219831f6a27761d21e (diff) |
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'.
Diffstat (limited to 'test')
-rw-r--r-- | test/tests/link-glob-ambiguous.bash | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/tests/link-glob-ambiguous.bash b/test/tests/link-glob-ambiguous.bash index 97d42cd..7e23348 100644 --- a/test/tests/link-glob-ambiguous.bash +++ b/test/tests/link-glob-ambiguous.bash @@ -2,44 +2,44 @@ test_description='link glob ambiguous' . '../test-lib.bash' test_expect_success 'setup' ' -mkdir ${DOTFILES}/bin +mkdir ${DOTFILES}/foo ' test_expect_failure 'run 1' ' run_dotbot <<EOF - link: - ~/bin/: - path: bin + ~/foo/: + path: foo glob: true EOF ' test_expect_failure 'test 1' ' -test -d ~/bin +test -d ~/foo ' test_expect_failure 'run 2' ' run_dotbot <<EOF - link: - ~/bin/: - path: bin/ + ~/foo/: + path: foo/ glob: true EOF ' test_expect_failure 'test 2' ' -test -d ~/bin +test -d ~/foo ' test_expect_success 'run 3' ' run_dotbot <<EOF - link: - ~/bin: - path: bin + ~/foo: + path: foo glob: true EOF ' test_expect_success 'test 3' ' -test -d ~/bin +test -d ~/foo ' |