]> git.notmuchmail.org Git - notmuch/blobdiff - test/aggregate-results.sh
test: Add test showing notmuch corrupts a part with a CRLF pair in it
[notmuch] / test / aggregate-results.sh
index cc5b83fbaac9a3b6980341fd2e62d9cab24c98cb..732d6ca7f53ca8bf332f1179199ec132fe6abe04 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
 
 fixed=0
 success=0
@@ -49,7 +49,7 @@ pluralize () {
 }
 
 echo "Notmuch test suite complete."
-if [ "$fixed" = "0" ] && [ "$broken" = "0" ]; then
+if [ "$fixed" = "0" ] && [ "$failed" = "0" ]; then
     tests=$(pluralize "test" $total)
     printf "All $total $tests "
     if [ "$broken" = "0" ]; then