summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2008-08-20 23:40:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2008-08-20 23:40:59 -0700
commitf02fa3360510c6a2b75d2b52b8d1636788ab2605 (patch)
tree08b0cdb22e425d50d804d5ea1d301217b2be0a2c /t/test-lib.sh
parentMerge branch 'js/parallel-test' (diff)
parenttests: use $TEST_DIRECTORY to refer to the t/ directory (diff)
downloadtgif-f02fa3360510c6a2b75d2b52b8d1636788ab2605.tar.xz
Merge branch 'jc/test-deeper'
* jc/test-deeper: tests: use $TEST_DIRECTORY to refer to the t/ directory
Diffstat (limited to 't/test-lib.sh')
-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 7f60b614ea..6212c46cc1 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -406,7 +406,7 @@ test_create_repo () {
error "bug in the test script: not 1 parameter to test-create-repo"
owd=`pwd`
repo="$1"
- mkdir "$repo"
+ mkdir -p "$repo"
cd "$repo" || error "Cannot setup test environment"
"$GIT_EXEC_PATH/git" init "--template=$GIT_EXEC_PATH/templates/blt/" >&3 2>&4 ||
error "cannot run git init -- have you built things yet?"