t: use test_expect_code instead of hand-rolled comparison
[gitweb.git] / t / t9001-send-email.sh
index 051305545c414481b6883fa619ffb39134187de0..37caa183e0020f2aef14d0f957ea0b064d11271d 100755 (executable)
@@ -1325,7 +1325,7 @@ test_expect_success $PREREQ 'sendemail.transferencoding=7bit fails on 8bit data'
 
 test_expect_success $PREREQ '--transfer-encoding overrides sendemail.transferEncoding' '
        clean_fake_sendmail &&
-       git config sendemail.transferEncoding 8bit
+       git config sendemail.transferEncoding 8bit &&
        test_must_fail git send-email \
                --transfer-encoding=7bit \
                --smtp-server="$(pwd)/fake.sendmail" \