diff mbox series

[GSoC,v3,2/3] t9811: Remove the -q quiet mode from some instances of grep

Message ID 20250407172504.50849-3-anthonywang03@icloud.com (mailing list archive)
State New
Headers show
Series t9811: Improve test coverage and clarity | expand

Commit Message

Anthony Wang April 7, 2025, 5:25 p.m. UTC
Remove the `-q` quiet mode from some instances of `grep`,
as the lack of `-q` on the "TAG_F1" `grep` implies that its output is
required, when that is not the case. This change ensures consistency and
avoids confusion about whether the output of `grep` is used.

Signed-off-by: Anthony Wang <anthonywang513@gmail.com>
---
 t/t9811-git-p4-label-import.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/t/t9811-git-p4-label-import.sh b/t/t9811-git-p4-label-import.sh
index 5abac938d0..e69dae55dc 100755
--- a/t/t9811-git-p4-label-import.sh
+++ b/t/t9811-git-p4-label-import.sh
@@ -97,8 +97,8 @@  test_expect_success 'two labels on the same changelist' '
 
 		git tag >output &&
 		grep TAG_F1 output &&
-		grep -q TAG_F1_1 output &&
-		grep -q TAG_F1_2 output &&
+		grep TAG_F1_1 output &&
+		grep TAG_F1_2 output &&
 
 		cd main &&