about summary refs log tree commit diff
path: root/third_party/git/t/t9160-git-svn-preserve-empty-dirs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t9160-git-svn-preserve-empty-dirs.sh')
-rwxr-xr-xthird_party/git/t/t9160-git-svn-preserve-empty-dirs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/git/t/t9160-git-svn-preserve-empty-dirs.sh b/third_party/git/t/t9160-git-svn-preserve-empty-dirs.sh
index 0ede3cfedb2a..36c6b1a12ffd 100755
--- a/third_party/git/t/t9160-git-svn-preserve-empty-dirs.sh
+++ b/third_party/git/t/t9160-git-svn-preserve-empty-dirs.sh
@@ -86,8 +86,8 @@ test_expect_success 'remove non-last entry from directory' '
 		cd "$GIT_REPO" &&
 		git checkout HEAD~2
 	) &&
-	test_must_fail test -f "$GIT_REPO"/2/.gitignore &&
-	test_must_fail test -f "$GIT_REPO"/3/.gitignore
+	test_path_is_missing "$GIT_REPO"/2/.gitignore &&
+	test_path_is_missing "$GIT_REPO"/3/.gitignore
 '
 
 # After re-cloning the repository with --placeholder-file specified, there