]> diplodocus.org Git - nmh/blobdiff - test/inc/test-deb359167
mh-mkstemp.man: Detail exit status as 255 rather than -1.
[nmh] / test / inc / test-deb359167
index c35d82b5f82cb044e1ac1e6eeeb6e7f46080ef4c..225a2b4408d9eaaf0181791606263308de2bfb12 100755 (executable)
@@ -11,6 +11,14 @@ fi
 
 setup_test
 
+# valgrind throws a strange error on FreeBSD >= 10; skip the test
+# for now while we try to track down the underlying cause.
+if [ `uname -s` = 'FreeBSD' ]; then
+  case `uname -r` in
+    1?.*) test_skip 'valgrind fails on FreeBSD >= 10' ;;
+  esac
+fi
+
 require_prog valgrind
 
 THISDIR="$srcdir/test/inc"
@@ -27,6 +35,5 @@ fi
 #
 
 chmod 755 ${MH_INST_DIR}${bindir}/inc
-file ${MH_INST_DIR}${bindir}/inc
 
-valgrind --error-exitcode=1 --quiet inc -silent -file "$TESTMBOX"
+valgrind --error-exitcode=1 --quiet --suppressions="${srcdir}/test/valgrind.supp" inc -silent -file "$TESTMBOX"