Fix TESTOPTIONS should not be quoted
[releng/builder.git] / jjb / integration / integration-start-cluster-run-test.sh
index 2f2b14c1d84fd3f7315f09ace27a341007e7fe65..b253afc359279c4d535a4d944375da1d7ffac394 100644 (file)
@@ -111,6 +111,8 @@ done
 get_test_suites SUITES
 
 echo "Starting Robot test suites ${SUITES} ..."
+# ${TESTOPTIONS}, ${SUITES} are space-separated parameters and should not be quoted.
+# shellcheck disable=SC2086
 robot -N "${TESTPLAN}" \
       --removekeywords wuks -c critical -e exclude -e "skip_if_${DISTROSTREAM}" \
       -v BUNDLEFOLDER:"${BUNDLEFOLDER}" \
@@ -136,7 +138,7 @@ robot -N "${TESTPLAN}" \
       -v TOOLS_SYSTEM_USER:"${USER}" \
       -v USER_HOME:"${HOME}" \
       -v WORKSPACE:/tmp \
-      "${TESTOPTIONS}" "${SUITES}" || true
+      ${TESTOPTIONS} ${SUITES} || true