X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fgit.git;a=blobdiff_plain;f=t%2Ftest-lib.sh;h=8e3ee6cd7b38e07d3fd39904066c8e64f1d3642f;hp=72ea2b259875e209752022f63bd57f9ca83a0cc4;hb=5c94f87e6b17cab5d3b87998d6c907745cb6f5a4;hpb=120b0dfbed148461c4e1349d12a1b7913545260e diff --git a/t/test-lib.sh b/t/test-lib.sh index 72ea2b2598..8e3ee6cd7b 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -220,8 +220,8 @@ test_create_repo () { repo="$1" mkdir "$repo" cd "$repo" || error "Cannot setup test environment" - "$GIT_EXEC_PATH/git" init-db --template=$GIT_EXEC_PATH/templates/blt/ >/dev/null 2>&1 || - error "cannot run git init-db -- have you built things yet?" + "$GIT_EXEC_PATH/git" init --template=$GIT_EXEC_PATH/templates/blt/ >/dev/null 2>&1 || + error "cannot run git init -- have you built things yet?" mv .git/hooks .git/hooks-disabled cd "$owd" }