]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5601-clone.sh
Merge branch 'es/test-cmp-typocatcher'
[thirdparty/git.git] / t / t5601-clone.sh
index 84ea2a3eb707a7405d7fc3c5267f8bfff06abd18..eb9a093e25fadce8f8e6964e1e4b208256419cad 100755 (executable)
@@ -271,7 +271,9 @@ test_expect_success 'fetch from gitfile parent' '
 
 test_expect_success 'clone separate gitdir where target already exists' '
        rm -rf dst &&
-       test_must_fail git clone --separate-git-dir realgitdir src dst
+       echo foo=bar >>realgitdir/config &&
+       test_must_fail git clone --separate-git-dir realgitdir src dst &&
+       grep foo=bar realgitdir/config
 '
 
 test_expect_success 'clone --reference from original' '