From 5c00f8671f84b94d52a2c8d579e885f6a1dcdd69 Mon Sep 17 00:00:00 2001 From: Anders Roxell Date: Mon, 19 Oct 2020 13:06:39 +0200 Subject: fwts: fix FWTS_URL bug Signed-off-by: Anders Roxell --- automated/linux/fwts/fwts.sh | 4 +++- automated/linux/fwts/fwts.yaml | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'automated/linux/fwts') diff --git a/automated/linux/fwts/fwts.sh b/automated/linux/fwts/fwts.sh index c617e2e0..5f6dcde5 100755 --- a/automated/linux/fwts/fwts.sh +++ b/automated/linux/fwts/fwts.sh @@ -61,7 +61,9 @@ while getopts "h:t:p:u:v:s:" opt; do FWTS_VERSION="$OPTARG" ;; u) - FWTS_URL="$OPTARG" + if [[ "$OPTARG" != '' ]]; then + FWTS_URL="$OPTARG" + fi ;; p) if [[ "$OPTARG" != '' ]]; then diff --git a/automated/linux/fwts/fwts.yaml b/automated/linux/fwts/fwts.yaml index a23e6a66..ab63f3cb 100644 --- a/automated/linux/fwts/fwts.yaml +++ b/automated/linux/fwts/fwts.yaml @@ -53,5 +53,5 @@ params: run: steps: - cd ./automated/linux/fwts/ - - ./fwts.sh -t "${TESTS}" -v "${FWTS_VERSION}" -s "${SKIP_INSTALL}" -p "${FWTS_PATH}" + - ./fwts.sh -t "${TESTS}" -v "${FWTS_VERSION}" -s "${SKIP_INSTALL}" -p "${FWTS_PATH}" -u "${FWTS_URL}" - ../../utils/send-to-lava.sh ./output/result.txt -- cgit v1.2.3