From: Daniel Stoica Date: Mon, 27 Jan 2020 16:36:08 +0000 (+0200) Subject: Add read permission for test logs file X-Git-Tag: 3.0.0~13 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F11%2F2211%2F3;p=validation.git Add read permission for test logs file Signed-off-by: Daniel Stoica Change-Id: Ic6a26f14cce46dde019357c0adf8f9b4cd9790cf --- diff --git a/tests/os/lynis/lynis.robot b/tests/os/lynis/lynis.robot index 8d0069a..7d88c0f 100644 --- a/tests/os/lynis/lynis.robot +++ b/tests/os/lynis/lynis.robot @@ -58,7 +58,9 @@ Uninstall Lynis Download Logs [Documentation] Downloading logs and removing them + Execute Command chmod +r /var/log/lynis.log sudo=True SSHLibrary.Get File /var/log/lynis.log ${OUTPUT DIR}/lynis.log Execute Command rm /var/log/lynis.log sudo=True + Execute Command chmod +r /var/log/lynis-report.dat sudo=True SSHLibrary.Get File /var/log/lynis-report.dat ${OUTPUT DIR}/lynis-report.dat - Execute Command rm /var/log/lynis-report.dat sudo=True \ No newline at end of file + Execute Command rm /var/log/lynis-report.dat sudo=True