aboutsummaryrefslogtreecommitdiffstats
path: root/test.d/mds-server
diff options
context:
space:
mode:
Diffstat (limited to 'test.d/mds-server')
-rwxr-xr-xtest.d/mds-server8
1 files changed, 7 insertions, 1 deletions
diff --git a/test.d/mds-server b/test.d/mds-server
index 04a6d7f..170e444 100755
--- a/test.d/mds-server
+++ b/test.d/mds-server
@@ -1,2 +1,8 @@
#!/bin/sh
-valgrind --leak-check=full --show-leak-kinds=all "$0".real "$@"
+
+if [ -z "${NO_VALGRING}" ]; then
+ exec valgrind --leak-check=full --show-leak-kinds=all "$0".real "$@"
+else
+ exec "$0".real "$@"
+fi
+