X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5601-clone.sh;h=214756731baf199e6a50f9ab2380a8b4bfc0fb18;hb=cb16bcc36965f28845e4fae15c36280a2506f1be;hp=2335d8bc850b4b0010fcb9ac64a25d0c205e8a42;hpb=3536ae331014c68a25c80b3fb530a19c8dee0f11;p=git.git diff --git a/t/t5601-clone.sh b/t/t5601-clone.sh index 2335d8bc8..214756731 100755 --- a/t/t5601-clone.sh +++ b/t/t5601-clone.sh @@ -149,11 +149,13 @@ test_expect_success 'clone a void' ' ( cd src-0 && git init ) && - git clone src-0 target-6 && + git clone "file://$(pwd)/src-0" target-6 2>err-6 && + ! grep "fatal:" err-6 && ( cd src-0 && test_commit A ) && - git clone src-0 target-7 && + git clone "file://$(pwd)/src-0" target-7 2>err-7 && + ! grep "fatal:" err-7 && # There is no reason to insist they are bit-for-bit # identical, but this test should suffice for now. test_cmp target-6/.git/config target-7/.git/config