diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-01-18 15:12:15 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-01-18 15:12:15 -0800 |
commit | c7f352f31ad0593f7772a155980b16cbbaac3dec (patch) | |
tree | c64eb97b8d3846244a534e36ba89093c070da124 /t/t9001-send-email.sh | |
parent | Merge branch 'bw/pathspec-cleanup' (diff) | |
parent | t9813: avoid using pipes (diff) | |
download | tgif-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-x | t/t9001-send-email.sh | 2 |
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 } |