test: fix running valgrind tests with NMTST_NO_VALGRIND

Fixes: 6463ce5dd9
This commit is contained in:
Thomas Haller 2015-05-26 15:34:03 +02:00
parent 90a7ad8dec
commit ce3d1533cc

View file

@ -12,7 +12,7 @@ fi
TEST="$1"
if [ "$NMTST_NO_VALGRIND" != "" ]; then
"$TEST"
"$@"
exit $?
fi