Simplify grep in test to pass on MacOS
Peter Rabbitson committed
Mar 12, 2020 at 04:42 UTC
7b65c0703f7a98260779f773f92173e33f43979b
1 file changed
+1
-1
test/sharness/t0001-tests-work.sh
+1
-1
@@ -10,7 +10,7 @@ for file in $(find .. -maxdepth 1 -name 't*.sh' -type f); do
10
'
11
12
test_expect_success "test in $file has a description" '
13
- test_must_fail grep -L "^test_description=" "$file"
13
+ grep -q "^test_description=" "$file"
14
'
15
16
# We have some tests that manually kill.