6b9308
From e07bee418824709290a8e1252b95fe90aeae9f9b Mon Sep 17 00:00:00 2001
6b9308
From: Karel Zak <kzak@redhat.com>
6b9308
Date: Tue, 7 Jan 2020 14:53:25 +0100
6b9308
Subject: [PATCH 193/197] tests: accept empty values
6b9308
6b9308
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1788896
6b9308
Signed-off-by: Karel Zak <kzak@redhat.com>
6b9308
---
6b9308
 tests/functions.sh | 4 ++--
6b9308
 1 file changed, 2 insertions(+), 2 deletions(-)
6b9308
6b9308
diff --git a/tests/functions.sh b/tests/functions.sh
6b9308
index b930dfe7e..648e1be6e 100644
6b9308
--- a/tests/functions.sh
6b9308
+++ b/tests/functions.sh
6b9308
@@ -265,11 +265,11 @@ function ts_init_suid {
6b9308
 
6b9308
 function ts_valgrind {
6b9308
 	if [ -z "$TS_VALGRIND_CMD" ]; then
6b9308
-		$*
6b9308
+		"$@"
6b9308
 	else
6b9308
 		$TS_VALGRIND_CMD --tool=memcheck --leak-check=full \
6b9308
 				 --leak-resolution=high --num-callers=20 \
6b9308
-				 --log-file="$TS_VGDUMP" $*
6b9308
+				 --log-file="$TS_VGDUMP" "$@"
6b9308
 	fi
6b9308
 }
6b9308
 
6b9308
-- 
6b9308
2.25.2
6b9308