X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=t%2Ft5401-update-hooks.sh;h=64f66c94f36538b1c7d20045fc4233aa0b9d9a0d;hb=3604e7c5c6f8d48e221ea5b21ef26fc3e27eff9e;hp=ee769d6695ee91120671c485924d804f14c80424;hpb=0cb0e143ffa7d66b7feea0a967b3ac9ae6cd62b0;p=thirdparty%2Fgit.git diff --git a/t/t5401-update-hooks.sh b/t/t5401-update-hooks.sh index ee769d6695..64f66c94f3 100755 --- a/t/t5401-update-hooks.sh +++ b/t/t5401-update-hooks.sh @@ -17,7 +17,7 @@ test_expect_success setup ' commit1=$(echo modify | git commit-tree $tree1 -p $commit0) && git update-ref refs/heads/master $commit0 && git update-ref refs/heads/tofail $commit1 && - git-clone ./. victim && + git clone ./. victim && GIT_DIR=victim/.git git update-ref refs/heads/tofail $commit1 && git update-ref refs/heads/master $commit1 && git update-ref refs/heads/tofail $commit0 @@ -61,7 +61,7 @@ EOF chmod u+x victim/.git/hooks/post-update test_expect_success push ' - test_must_fail git-send-pack --force ./victim/.git \ + test_must_fail git send-pack --force ./victim/.git \ master tofail >send.out 2>send.err '