Fix the log file name of LTP tests 03/2003/1
authorJuha Kosonen <juha.kosonen@nokia.com>
Tue, 19 Nov 2019 08:35:53 +0000 (10:35 +0200)
committerJuha Kosonen <juha.kosonen@nokia.com>
Tue, 19 Nov 2019 08:35:53 +0000 (10:35 +0200)
Change-Id: Ie8a0a068a0ac86503df781be0f4921558543fb01
Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
tests/os/ltp/ltp.robot

index 547fd18..3cb3ced 100644 (file)
@@ -43,14 +43,14 @@ RunLTP syscalls madvise only
 
 RunLTP syscalls only
     [Documentation]         Wait ~45m for syscalls to complete
-    ${log} =  Set Variable  ${OUTPUT DIR}${/}${FULL_SUITE}.${TEST NAME.replace(' ','_').log
+    ${log} =  Set Variable  ${OUTPUT DIR}${/}${FULL_SUITE}.${TEST NAME.replace(' ','_')}.log
     ${result}=              Execute Command  yes | sudo /opt/ltp/runltp -f syscalls
     Append To File          ${log}  ${result}${\n}
     Should Contain          ${result}    INFO: ltp-pan reported all tests PASS
 
 RunLTP all tests
     [Documentation]         Wait ~5hrs to complete 2536 tests
-    ${log} =  Set Variable  ${OUTPUT DIR}${/}${FULL_SUITE}.${TEST NAME.replace(' ','_').log
+    ${log} =  Set Variable  ${OUTPUT DIR}${/}${FULL_SUITE}.${TEST NAME.replace(' ','_')}.log
     ${result}=              Execute Command  yes | sudo /opt/ltp/runltp
     Append To File          ${log}  ${result}${\n}
     Should Contain          ${result}    INFO: ltp-pan reported all tests PASS