summaryrefslogtreecommitdiff
path: root/t/t9001-send-email.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2017-01-18 15:12:15 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-18 15:12:15 -0800
commitc7f352f31ad0593f7772a155980b16cbbaac3dec (patch)
treec64eb97b8d3846244a534e36ba89093c070da124 /t/t9001-send-email.sh
parentMerge branch 'bw/pathspec-cleanup' (diff)
parentt9813: avoid using pipes (diff)
downloadtgif-c7f352f31ad0593f7772a155980b16cbbaac3dec.tar.xz
Merge branch 'pb/test-must-fail-is-for-git'
Test cleanup. * pb/test-must-fail-is-for-git: t9813: avoid using pipes don't use test_must_fail with grep
Diffstat (limited to 't/t9001-send-email.sh')
-rwxr-xr-xt/t9001-send-email.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9001-send-email.sh b/t/t9001-send-email.sh
index 3dc4a3454d..0f398dd160 100755
--- a/t/t9001-send-email.sh
+++ b/t/t9001-send-email.sh
@@ -50,7 +50,7 @@ test_no_confirm () {
--smtp-server="$(pwd)/fake.sendmail" \
$@ \
$patches >stdout &&
- test_must_fail grep "Send this email" stdout &&
+ ! grep "Send this email" stdout &&
>no_confirm_okay
}