]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9104-git-svn-follow-parent.sh
t: make many tests depend less on the refs being files
[thirdparty/git.git] / t / t9104-git-svn-follow-parent.sh
index cd480edf1606fda8d973ee3decb8e18e03356153..0c9c8f9f031f3e6561a3b962f77ef6041f1593c8 100755 (executable)
@@ -213,7 +213,8 @@ test_expect_success "multi-fetch continues to work" "
        "
 
 test_expect_success "multi-fetch works off a 'clean' repository" '
-       rm -r "$GIT_DIR/svn" "$GIT_DIR/refs/remotes" "$GIT_DIR/logs" &&
+       rm -rf "$GIT_DIR/svn" "$GIT_DIR/refs/remotes" &&
+       git reflog expire --all --expire=all &&
        mkdir "$GIT_DIR/svn" &&
        git svn multi-fetch
        '