X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft5601-clone.sh;h=214756731baf199e6a50f9ab2380a8b4bfc0fb18;hb=752c0c24926aacbceca0d27de6ad22cbb7dd0709;hp=2335d8bc850b4b0010fcb9ac64a25d0c205e8a42;hpb=b91ffd37d5c18046f7b0bf47e939273bead9e52e;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