midx: write header information to lockfile
[git/git.git] / t / t5319-multi-pack-index.sh
index ec3ddbe..50e80f8 100755 (executable)
@@ -4,7 +4,9 @@ test_description='multi-pack-indexes'
 . ./test-lib.sh
 
 test_expect_success 'write midx with no packs' '
-       git multi-pack-index --object-dir=. write
+       test_when_finished rm -f pack/multi-pack-index &&
+       git multi-pack-index --object-dir=. write &&
+       test_path_is_file pack/multi-pack-index
 '
 
 test_done