From a5e828f61d46541e2c821673134221dadfc6695d Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Tue, 18 Oct 2022 18:48:45 +0200 Subject: fix: show forwarder log after test execution The command to show the log should be executed with "sudo", as the log file is owned by the root user. Ticket: HICN-815 Signed-off-by: Mauro Sardara Change-Id: I3c1bf40691037d32c09e095e6011992212b19e38 --- tests/config.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/config.sh b/tests/config.sh index 7e52901c7..2acb36be3 100755 --- a/tests/config.sh +++ b/tests/config.sh @@ -237,12 +237,12 @@ function start() { # Print also forwader log echo "Forwarder Log - CLIENT" - ${DOCKER_COMMAND} client cat "${FORWARDER_LOG_PATH}" + ${DOCKER_COMMAND} client sudo cat "${FORWARDER_LOG_PATH}" echo echo "Forwarder Log - SERVER" - ${DOCKER_COMMAND} server cat "${FORWARDER_LOG_PATH}" + ${DOCKER_COMMAND} server sudo cat "${FORWARDER_LOG_PATH}" } function stop() { -- cgit 1.2.3-korg