aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-07-16 09:42:27 -0700
committerJunio C Hamano <gitster@pobox.com>2025-07-16 09:42:27 -0700
commit362f69547f99acbbe024e5bec2093631643da300 (patch)
tree6b83b902d2518f4c32817e2fe6d7972f533dcf44
parent7b625c2a3511ac89acd14ae4bcbbc471bd50cdbb (diff)
parent52d0c32b9f48122766d3effc07abb9a4eaa89bc0 (diff)
downloadgit-362f69547f99acbbe024e5bec2093631643da300.tar.gz
Merge branch 'ps/t1006-tap-fix'
Test fix. * ps/t1006-tap-fix: t1006: fix broken TAP format
-rwxr-xr-xt/t1006-cat-file.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t1006-cat-file.sh b/t/t1006-cat-file.sh
index f123ef1e36..1f61b666a7 100755
--- a/t/t1006-cat-file.sh
+++ b/t/t1006-cat-file.sh
@@ -197,7 +197,7 @@ $content"
# FIXME: %(rest) is incompatible with object names that include whitespace,
# e.g. HEAD:path/to/a/file with spaces. Use the resolved OID as input to
# test this instead of the raw object name.
- if echo "$object_name" | grep " "; then
+ if echo "$object_name" | grep -q " "; then
test_rest=test_expect_failure
else
test_rest=test_expect_success