]> diplodocus.org Git - nmh/blobdiff - test/common.sh.in
Fix qpspecial() macro test, and do proper casts to handle signed chars.
[nmh] / test / common.sh.in
index ff06312fb20b5765958756bc6de82efdbdae800f..1d55dff5656aead7f891d1f634bc8fd466b8f0db 100644 (file)
@@ -166,6 +166,8 @@ check() {
         echo
         echo "$0: test failed, outputs are in $first and $second."
         failed=`expr ${failed:-0} + 1`
+        #### Set return status of the function.
+        [ $failed -eq 0 ]
     fi
 }