From 190c800272b26d8fb011b61e48731089225d7c80 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Sun, 26 Mar 2017 11:43:42 -0400 Subject: [PATCH] Fix tests for Travis CI This patch makes it so the `travis_cleanup` function removes broken symlinks properly. --- test/test_travis | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {} +