about summary refs log tree commit diff
path: root/third_party/git/t/t6019-rev-list-ancestry-path.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t6019-rev-list-ancestry-path.sh')
-rwxr-xr-xthird_party/git/t/t6019-rev-list-ancestry-path.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/third_party/git/t/t6019-rev-list-ancestry-path.sh b/third_party/git/t/t6019-rev-list-ancestry-path.sh
index 353f84313f33..beadaf6cca05 100755
--- a/third_party/git/t/t6019-rev-list-ancestry-path.sh
+++ b/third_party/git/t/t6019-rev-list-ancestry-path.sh
@@ -143,14 +143,14 @@ test_expect_success 'setup criss-cross' '
 test_expect_success 'criss-cross: rev-list --ancestry-path cb..bc' '
 	(cd criss-cross &&
 	 git rev-list --ancestry-path xcb..xbc > actual &&
-	 test_must_be_empty actual)
+	 test -z "$(cat actual)")
 '
 
 # no commits in repository descend from cb
 test_expect_success 'criss-cross: rev-list --ancestry-path --all ^cb' '
 	(cd criss-cross &&
 	 git rev-list --ancestry-path --all ^xcb > actual &&
-	 test_must_be_empty actual)
+	 test -z "$(cat actual)")
 '
 
 test_done