From: Alex Riesen Date: Thu, 08 Dec 2005 20:59:41 GMT Subject: Re: [PATCH] use "git init-db" in tests Message-ID: <20051208205941.GA19423@steel.home> In-Reply-To: <20051208202555.GA3046@steel.home> Alex Riesen, Thu, Dec 08, 2005 21:25:55 +0100: > -git-init-db --template=../../templates/blt/ 2>/dev/null || > -error "cannot run git-init-db" > +git init-db --template=../../templates/blt/ 2>/dev/null || > +error "cannot run git init-db" "$GIT_EXEC_PATH/git init-db", of course. Signed-off-by: Alex Riesen --- t/test-lib.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 33dbb3dacf1b38c40f091dd800ea2dafdfa1fd3f diff --git a/t/test-lib.sh b/t/test-lib.sh index 0539dac..777c748 100755 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -190,8 +190,8 @@ test=trash rm -fr "$test" mkdir "$test" cd "$test" -git-init-db --template=../../templates/blt/ 2>/dev/null || -error "cannot run git-init-db" +"$GIT_EXEC_PATH/git" init-db --template=../../templates/blt/ 2>/dev/null || +error "cannot run $GIT_EXEC_PATH/git init-db" mv .git/hooks .git/hooks-disabled -- 0.99.9.GIT