aboutsummaryrefslogtreecommitdiff
path: root/automated/linux/fwts/fwts.sh
diff options
context:
space:
mode:
Diffstat (limited to 'automated/linux/fwts/fwts.sh')
-rwxr-xr-xautomated/linux/fwts/fwts.sh8
1 files changed, 7 insertions, 1 deletions
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
}