diff options
Diffstat (limited to 't/t7810-grep.sh')
| -rwxr-xr-x | t/t7810-grep.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t7810-grep.sh b/t/t7810-grep.sh index fc44ec96aa..825da1404a 100755 --- a/t/t7810-grep.sh +++ b/t/t7810-grep.sh @@ -941,7 +941,7 @@ test_expect_success 'grep from a subdirectory to search wider area (2)' ' ( cd s || exit 1 ( git grep xxyyzz .. >out ; echo $? >status ) - ! test -s out && + test_must_be_empty out && test 1 = $(cat status) ) ' |
