Simplify grep in test to pass on MacOS

This commit is contained in:
Peter Rabbitson 2020-03-12 04:42:53 +01:00
parent 81cb535c52
commit 7b65c0703f

View File

@ -10,7 +10,7 @@ for file in $(find .. -maxdepth 1 -name 't*.sh' -type f); do
'
test_expect_success "test in $file has a description" '
test_must_fail grep -L "^test_description=" "$file"
grep -q "^test_description=" "$file"
'
# We have some tests that manually kill.