]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t9001-send-email.sh
t/: Use "test_must_fail git" instead of "! git"
[thirdparty/git.git] / t / t9001-send-email.sh
index 3e4eb63f1c4d63d6ff38c79ff1f7a47fa3aa1597..de5b9802c9deab0f86497bd652eb8b021bcdadb0 100755 (executable)
@@ -91,7 +91,7 @@ test_expect_success 'reject long lines' '
        clean_fake_sendmail &&
        cp $patches longline.patch &&
        echo $z512$z512 >>longline.patch &&
-       ! git send-email \
+       test_must_fail git send-email \
                --from="Example <nobody@example.com>" \
                --to=nobody@example.com \
                --smtp-server="$(pwd)/fake.sendmail" \