aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-04-06 15:42:50 -0700
committerJunio C Hamano <gitster@pobox.com>2026-04-06 15:42:50 -0700
commit039888f2fc0279a7860587ef0524fc112f8fcd9a (patch)
tree08f18e62db34671b4270f834e970a0ae5639de93
parent0713d3b7f6f44ec686606494d4feb6416bb88cc1 (diff)
parent849988bc7499d11f127305a8f20a3a054eb0b0c0 (diff)
downloadgit-039888f2fc0279a7860587ef0524fc112f8fcd9a.tar.xz
Merge branch 'th/t6101-unhide-git-failures'
Test cleanup. * th/t6101-unhide-git-failures: t6101: avoid suppressing git's exit code
-rwxr-xr-xt/t6101-rev-parse-parents.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/t/t6101-rev-parse-parents.sh b/t/t6101-rev-parse-parents.sh
index 5f55ab98d3..7281889717 100755
--- a/t/t6101-rev-parse-parents.sh
+++ b/t/t6101-rev-parse-parents.sh
@@ -39,7 +39,8 @@ test_expect_success 'setup' '
'
test_expect_success 'start is valid' '
- git rev-parse start | grep "^$OID_REGEX$"
+ git rev-parse start >actual &&
+ test_grep "^$OID_REGEX$" actual
'
test_expect_success 'start^0' '