From: Oswald Buddenhagen Date: Sun, 13 Aug 2023 10:46:49 +0000 (+0200) Subject: t9001: fix indentation in test_no_confirm() X-Git-Tag: v2.42.1~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b46d806ea5649599df6ed2deb83dfa69330985cf;p=thirdparty%2Fgit.git t9001: fix indentation in test_no_confirm() The continuations of the compound command were indented as if they were continuations of the embedded pipe, which was misleading. Signed-off-by: Oswald Buddenhagen Signed-off-by: Junio C Hamano --- diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh index 323952a572..8b05a602b2 100755 --- a/t/t9001-send-email.sh +++ b/t/t9001-send-email.sh @@ -61,8 +61,8 @@ test_no_confirm () { --smtp-server="$(pwd)/fake.sendmail" \ $@ \ $patches >stdout && - ! grep "Send this email" stdout && - >no_confirm_okay + ! grep "Send this email" stdout && + >no_confirm_okay } # Exit immediately to prevent hang if a no-confirm test fails