From 951c0bca1a800912f98c6ce342e0f021243257c7 Mon Sep 17 00:00:00 2001
From: Chase Qi <chase.qi@linaro.org>
Date: Fri, 25 Feb 2022 09:20:01 +0800
Subject: [PATCH] ci: fix ltp test job submission

Signed-off-by: Chase Qi <chase.qi@linaro.org>
---
 .oniro-ci/test-generic.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.oniro-ci/test-generic.yaml b/.oniro-ci/test-generic.yaml
index 29f7e172..f07e9bba 100644
--- a/.oniro-ci/test-generic.yaml
+++ b/.oniro-ci/test-generic.yaml
@@ -58,7 +58,7 @@
           sed "s/@image_basename@/$image_basename/" job_def.yaml | tee lava_jobs/"${image_basename}".yaml
         done
       # Generate job definitions for linux LTP test.
-      elif grep -q "\$TST_CMDFILES" job_def.yaml; then
+      elif grep -q "@TST_CMDFILES@" job_def.yaml; then
         for test_cmdfile in ${LTP_TST_CMDFILES}; do
           ltp_job_name="ltp-${test_cmdfile}.yaml"
           echo "--- Generating lava job definition ${ltp_job_name} ---"
-- 
GitLab