summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 5002fb0..d1018c9 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -419,7 +419,7 @@ rm -fr "$test" || {
}
test_create_repo "$test"
-cd "$test"
+cd "$test" || exit 1
this_test=$(expr "./$0" : '.*/\(t[0-9]*\)-[^/]*$')
for skp in $GIT_SKIP_TESTS