]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5607-clone-bundle.sh
Merge branch 'md/list-lazy-objects-fix'
[thirdparty/git.git] / t / t5607-clone-bundle.sh
index 348d9b3bc7ad3ea512f68b6200481c9f6b90d792..cf39e9e2437f06b4725b61ad2194dd65b4857f82 100755 (executable)
@@ -71,4 +71,10 @@ test_expect_success 'prerequisites with an empty commit message' '
        git bundle verify bundle
 '
 
+test_expect_success 'failed bundle creation does not leave cruft' '
+       # This fails because the bundle would be empty.
+       test_must_fail git bundle create fail.bundle master..master &&
+       test_path_is_missing fail.bundle.lock
+'
+
 test_done