# 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
+if [ `uname -s` = 'FreeBSD' ]; then
+ case `uname -r` in
1?.*) test_skip 'valgrind fails on FreeBSD >= 10' ;;
esac
fi
chmod 755 ${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"