From: Corentin LABBE Date: Wed, 18 Sep 2019 08:51:07 +0000 (+0200) Subject: SPEC-2703: fix parsing of the testname X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=741308270c99000db2299b3ea2a87e9dcca74f80;p=ci-management.git SPEC-2703: fix parsing of the testname The raw testline contains an * which breaks the parsing of the testname. This patchs adds quote to prevent that. Change-Id: I8f11b3d9ee5444983dd886954a5e2712025a7314 Bug-AGL: SPEC-2703 Signed-off-by: Corentin LABBE --- diff --git a/jjb/common/include-agl-lava-jobs-submit.sh b/jjb/common/include-agl-lava-jobs-submit.sh index 9b788149..a0a261bd 100644 --- a/jjb/common/include-agl-lava-jobs-submit.sh +++ b/jjb/common/include-agl-lava-jobs-submit.sh @@ -115,7 +115,7 @@ handle_skiplist() { while read testline do # Check if fail are "normal/accepted" - TESTNAME=$(echo $testline | cut -d' ' -f2) + TESTNAME=$(echo "$testline" | cut -d' ' -f2) if [ -z "$(grep $TESTNAME $SKIPLIST)" ];then echo "DEBUG: $TESNAME not in skiplist" GOODJOB=0