summaryrefslogtreecommitdiff
path: root/tsp/jobs/img_test_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tsp/jobs/img_test_common.sh')
-rwxr-xr-xtsp/jobs/img_test_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsp/jobs/img_test_common.sh b/tsp/jobs/img_test_common.sh
index 55d01e9..f349fcb 100755
--- a/tsp/jobs/img_test_common.sh
+++ b/tsp/jobs/img_test_common.sh
@@ -83,7 +83,7 @@ esac
if check_diff "${DIFF_FILE1}" "${DIFF_FILE2}" "${BUILD_NR}" "${TARGET}"
then
echo "Add common_prep_flash_conf job to the $TARGET queue"
- tsrun_target "${TARGET#headless-}" -L "$(echo "$TARGET" | tr '[:lower:]' '[:upper:]')_PREPARE_FLASH_CONF" \
+ tsrun_target "${TARGET#*-}" -L "$(echo "$TARGET" | tr '[:lower:]' '[:upper:]')_PREPARE_FLASH_CONF" \
sh "${TSP_DIR}/jobs/common_prep_flash_conf.sh" "${BUILD_NR}" "${TARGET}"
# Update status in database
update_db "$SR" "In test queue" "${BUILD_NR}" "$TARGET"