summaryrefslogtreecommitdiffstats
path: root/tests/functions.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functions.sh')
-rw-r--r--tests/functions.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/functions.sh b/tests/functions.sh
index b9a852365..609cedffd 100644
--- a/tests/functions.sh
+++ b/tests/functions.sh
@@ -367,11 +367,11 @@ function ts_init_py {
function ts_valgrind {
if [ -z "$TS_VALGRIND_CMD" ]; then
- $*
+ "$@"
else
$TS_VALGRIND_CMD --tool=memcheck --leak-check=full \
--leak-resolution=high --num-callers=20 \
- --log-file="$TS_VGDUMP" $*
+ --log-file="$TS_VGDUMP" "$@"
fi
}