diff --git a/t/t9300-fast-import.sh b/t/t9300-fast-import.sh index c36afdb8ffd..adabd687d82 100755 --- a/t/t9300-fast-import.sh +++ b/t/t9300-fast-import.sh @@ -344,9 +344,9 @@ M 755 0000000000000000000000000000000000000001 zero1 INPUT_END test_expect_success 'B: fail on invalid blob sha1' ' + test_when_finished "rm -f .git/objects/pack_* .git/objects/index_*" && test_must_fail git fast-import input </dev/null >/dev/null -git prune 2>/dev/null >/dev/null cat >input </dev/null >/dev/null -git prune 2>/dev/null >/dev/null cat >input </dev/null >/dev/null -git prune 2>/dev/null >/dev/null cat >input <input <input <input <input <tmp && cat tmp | cut -f 2 >actual && @@ -921,8 +919,6 @@ test_expect_success 'L: nested tree copy does not corrupt deltas' ' git fsck `git rev-parse L2` ' -git update-ref -d refs/heads/L2 - ### ### series M ###