[Fuego] [PATCH 2/5] LTP: put the skiplist on the logdir

Daniel Sangorrin daniel.sangorrin at toshiba.co.jp
Tue Feb 6 08:06:49 UTC 2018


Note: this is a re-send because the patch didn't make it.

Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
 engine/tests/Functional.LTP/fuego_test.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/engine/tests/Functional.LTP/fuego_test.sh b/engine/tests/Functional.LTP/fuego_test.sh
index 9d2fbb0..15bf0fb 100755
--- a/engine/tests/Functional.LTP/fuego_test.sh
+++ b/engine/tests/Functional.LTP/fuego_test.sh
@@ -302,7 +302,7 @@ function test_deploy {
     echo "# skip these test cases" > skiplist.txt
     if [ -n "${FUNCTIONAL_LTP_SKIPLIST}" ]; then
         for item in $FUNCTIONAL_LTP_SKIPLIST; do
-            echo $item >> skiplist.txt
+            echo "$item" >> ${LOGDIR}/skiplist.txt
         done
     fi
 
@@ -319,7 +319,7 @@ function test_deploy {
             awk '/^[^#]/ { print "rm -f ltp/testcases/bin/" $2 }' ltp/runtest/syscalls | sh
         fi
 
-        cp skiplist.txt ltp
+        cp ${LOGDIR}/skiplist.txt ltp
 
         put ltp/* $LTP_DESTDIR
         rm -rf ltp
@@ -340,7 +340,7 @@ function test_deploy {
        cmd "mkdir -p $FUNCTIONAL_LTP_HOMEDIR/testcases/realtime/scripts"
        put testcases/realtime/scripts/setenv.sh $FUNCTIONAL_LTP_HOMEDIR/testcases/realtime/scripts
        put $TEST_HOME/ltp_target_run.sh $FUNCTIONAL_LTP_HOMEDIR
-       put skiplist.txt $FUNCTIONAL_LTP_HOMEDIR
+       put ${LOGDIR}/skiplist.txt $FUNCTIONAL_LTP_HOMEDIR
     fi
 }
 
-- 
2.7.4




More information about the Fuego mailing list