diff --git a/t/t2027-checkout-long-paths.sh b/t/t2028-checkout-long-paths.sh similarity index 98% rename from t/t2027-checkout-long-paths.sh rename to t/t2028-checkout-long-paths.sh index e65a38da4d..79345ed7fd 100755 --- a/t/t2027-checkout-long-paths.sh +++ b/t/t2028-checkout-long-paths.sh @@ -52,7 +52,10 @@ test_expect_success 'update of long paths' ' test_expect_success cleanup ' # bash cannot delete the trash dir if it contains a long path # lets help cleaning up (unless in debug mode) - test ! -z "$debug" || rm -rf longpa~1 + if test -z "$debug" + then + rm -rf longpa~1 + fi ' # check that the template used in the test won't be too long: