Skip to content

Commit 362f695

Browse files
committed
Merge branch 'ps/t1006-tap-fix'
Test fix. * ps/t1006-tap-fix: t1006: fix broken TAP format
2 parents 7b625c2 + 52d0c32 commit 362f695

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

t/t1006-cat-file.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ $content"
197197
# FIXME: %(rest) is incompatible with object names that include whitespace,
198198
# e.g. HEAD:path/to/a/file with spaces. Use the resolved OID as input to
199199
# test this instead of the raw object name.
200-
if echo "$object_name" | grep " "; then
200+
if echo "$object_name" | grep -q " "; then
201201
test_rest=test_expect_failure
202202
else
203203
test_rest=test_expect_success

0 commit comments

Comments
 (0)