diff options
author | Mauro Sardara <msardara@cisco.com> | 2022-10-18 18:48:45 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2022-10-18 16:50:51 +0000 |
commit | a5e828f61d46541e2c821673134221dadfc6695d (patch) | |
tree | d14b8cbd53c6343daf83d0f231951a5907c8cdd2 | |
parent | 2c3f5724db831ce599ad678b3e39661e19e3c95c (diff) |
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 <msardara@cisco.com>
Change-Id: I3c1bf40691037d32c09e095e6011992212b19e38
-rwxr-xr-x | tests/config.sh | 4 |
1 files 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() { |