summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 377d9c4)
raw | patch | inline | side by side (parent: 377d9c4)
author | Alex Riesen <raa.lkml@gmail.com> | |
Sun, 18 May 2008 15:27:00 +0000 (17:27 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 19 May 2008 04:39:22 +0000 (21:39 -0700) |
Exit with error if cd into the "trash directory" failed (error
already reported, so just exit).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
already reported, so just exit).
Signed-off-by: Alex Riesen <raa.lkml@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/test-lib.sh | patch | blob | history |
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 5002fb04b58ea91572b58dcaf7fe92342f4eeab1..d1018c99c6b58ab9cbfc4fec053fa797fdc8432a 100644 (file)
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
}
test_create_repo "$test"
-cd "$test"
+cd "$test" || exit 1
this_test=$(expr "./$0" : '.*/\(t[0-9]*\)-[^/]*$')
for skp in $GIT_SKIP_TESTS