From 9bdd20014de503d43763354f42655ecf83d090bb Mon Sep 17 00:00:00 2001 From: Naresh Kamboju Date: Mon, 19 Oct 2020 13:00:36 +0200 Subject: fwts: fix test name parameter Signed-off-by: Naresh Kamboju Signed-off-by: Anders Roxell --- automated/linux/fwts/fwts.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'automated/linux/fwts') diff --git a/automated/linux/fwts/fwts.sh b/automated/linux/fwts/fwts.sh index bbe2ebc3..c617e2e0 100755 --- a/automated/linux/fwts/fwts.sh +++ b/automated/linux/fwts/fwts.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -x + # shellcheck disable=SC1091 . ../../lib/sh-test-lib OUTPUT="$(pwd)/output" @@ -168,7 +170,11 @@ parse_fwts_test_results() { run_test() { - fwts "${TESTS}" - 2>&1 | tee -a "${RESULT_LOG}" + # Double quote to prevent globbing and word splitting. + # In this case we don't want to add extra quote since that can make the + # string get splitted. + # shellcheck disable=SC2086 + fwts ${TESTS} - 2>&1 | tee -a "${RESULT_LOG}" parse_fwts_test_results } -- cgit v1.2.3