From 2b56600b62de822f33135a21b6c5354561f7cbc9 Mon Sep 17 00:00:00 2001 From: Virginie Date: Tue, 3 Nov 2020 09:57:02 +0100 Subject: Display waivers content for the security tests Issue-ID: INT-1764 Signed-off-by: Virginie Change-Id: Id6ae70d90d2e1f360642160768b4658d17c45046 Signed-off-by: mrichomme Signed-off-by: Virginie --- security/scripts/check_security_root.sh | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'security/scripts/check_security_root.sh') diff --git a/security/scripts/check_security_root.sh b/security/scripts/check_security_root.sh index 5dd40f8..8fd35db 100644 --- a/security/scripts/check_security_root.sh +++ b/security/scripts/check_security_root.sh @@ -42,6 +42,13 @@ echo "-------------------- ONAP Security tests ----------------------------" echo "-------------------- Test root user in pods -------------------------" echo "------------------------------------------------------------------------" +# Display the waivers +if [ -s $XL_FILE_PATH ]; then + echo -e "--------------------\e[0;31m WARNING \e[0;m XFail List ----------------------------" + cat $WL_FILE_PATH + echo "------------------------------------------------------------------------" +fi + code=0 # get the pod list -- cgit 1.2.3-korg