X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=t%2Ft5701-clone-local.sh;h=0f4d487be34d22820bcc63619e6e85b96f18c609;hb=5acb623b72bde9ec96c48a8bb8f50e61371705ee;hp=8b4c356cd21846025d84a434077bfdc8ee2bab57;hpb=037c43c68e220739e690540de89a6d5835fefe73;p=git.git diff --git a/t/t5701-clone-local.sh b/t/t5701-clone-local.sh index 8b4c356cd..0f4d487be 100755 --- a/t/t5701-clone-local.sh +++ b/t/t5701-clone-local.sh @@ -10,11 +10,11 @@ test_expect_success 'preparing origin repository' ' git clone --bare . a.git && git clone --bare . x && test "$(GIT_CONFIG=a.git/config git config --bool core.bare)" = true && - test "$(GIT_CONFIG=x/config git config --bool core.bare)" = true + test "$(GIT_CONFIG=x/config git config --bool core.bare)" = true && git bundle create b1.bundle --all && git bundle create b2.bundle master && mkdir dir && - cp b1.bundle dir/b3 + cp b1.bundle dir/b3 && cp b1.bundle b4 ' @@ -112,7 +112,7 @@ test_expect_success 'bundle clone with nonexistent HEAD' ' cd "$D" && git clone b2.bundle b2 && cd b2 && - git fetch + git fetch && test ! -e .git/refs/heads/master '