summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAnish Athalye <me@anishathalye.com>2017-03-26 11:43:42 -0400
committerAnish Athalye <me@anishathalye.com>2017-03-26 11:50:01 -0400
commit190c800272b26d8fb011b61e48731089225d7c80 (patch)
tree88f43e8d68321603a28acc06a736c88786e0bdd2 /test
parentef558f85d917c7d2fb52c17db10f0996ef92cb3f (diff)
Fix tests for Travis CI
This patch makes it so the `travis_cleanup` function removes broken symlinks properly.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test_travis2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_travis b/test/test_travis
index 3f34084..20ec1ae 100755
--- a/test/test_travis
+++ b/test/test_travis
@@ -34,7 +34,7 @@ travis_initialize() {
travis_cleanup() {
# Remove all dotfiles installed since the start, ignoring the main
# dotfiles directory, and the dotbot source directory
- find ~ -mindepth 1 -readable -newermt "${date_stamp}" \
+ find ~ -mindepth 1 -newermt "${date_stamp}" \
-not \( -path ~ -o -path "${BASEDIR}/*" \
-o -path ~/dotfiles \) \
-exec rm -rf {} +