aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-agl-lava-jobs-submit.sh
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2019-09-18 10:51:07 +0200
committerCorentin LABBE <clabbe@baylibre.com>2019-09-18 10:52:17 +0200
commit741308270c99000db2299b3ea2a87e9dcca74f80 (patch)
tree706fb5175e1e2b9fb550a152589392a43319c1cc /jjb/common/include-agl-lava-jobs-submit.sh
parenta41c93d2e49a5a3c87d860342e832df25b4f771d (diff)
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 <clabbe@baylibre.com>
Diffstat (limited to 'jjb/common/include-agl-lava-jobs-submit.sh')
-rw-r--r--jjb/common/include-agl-lava-jobs-submit.sh2
1 files changed, 1 insertions, 1 deletions
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