summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-05 20:52:50 -0800
committerJunio C Hamano <junkio@cox.net>2006-01-05 20:52:50 -0800
commit92e802c6ccb96d1b5e8561b0a136d43d82253293 (patch)
tree9b6c265d69d1dc8bcce36c86a44674cfb010a6d7 /t/test-lib.sh
parent17dff84b5e745ba17a5b3ae5591d79f96b165d48 (diff)
parentc1fe2fe4fe685e0587c3949f953aab726de88994 (diff)
GIT 1.0.7v1.0.7
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/test-lib.sh')
-rwxr-xr-xt/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index a97d259e26..7534a76208 100755
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -195,7 +195,7 @@ test -d ../templates/blt || {
test=trash
rm -fr "$test"
mkdir "$test"
-cd "$test"
+cd "$test" || error "Cannot setup test environment"
"$GIT_EXEC_PATH/git" init-db --template=../../templates/blt/ 2>/dev/null ||
error "cannot run git init-db -- have you built things yet?"