From ce3d1533cc9aaed14bfa8c03fe66365f2dc1e352 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Tue, 26 May 2015 15:34:03 +0200 Subject: [PATCH] test: fix running valgrind tests with NMTST_NO_VALGRIND Fixes: 6463ce5dd9ffc1aae3ca9ddc4dac4e25fd815237 --- tools/run-test-valgrind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run-test-valgrind.sh b/tools/run-test-valgrind.sh index b93b9472b7..1b4e2c2f9b 100755 --- a/tools/run-test-valgrind.sh +++ b/tools/run-test-valgrind.sh @@ -12,7 +12,7 @@ fi TEST="$1" if [ "$NMTST_NO_VALGRIND" != "" ]; then - "$TEST" + "$@" exit $? fi