]> git.ipfire.org Git - thirdparty/git.git/blobdiff - t/t5100-mailinfo.sh
t5000-t5999: detect and signal failure within loop
[thirdparty/git.git] / t / t5100-mailinfo.sh
index 141b29f0319a606ceefce3a06cd26990a64c8f06..cebad1048cfca3a142bcaef361dfab69fe889ceb 100755 (executable)
@@ -122,7 +122,7 @@ test_expect_success 'mailinfo unescapes with --mboxrd' '
        do
                git mailinfo mboxrd/msg mboxrd/patch \
                  <mboxrd/$i >mboxrd/out &&
-               test_cmp "$DATA/${i}mboxrd" mboxrd/msg
+               test_cmp "$DATA/${i}mboxrd" mboxrd/msg || return 1
        done &&
        sp=" " &&
        echo "From " >expect &&