Display waivers content for the security tests 20/114520/5
authorVirginie <virginie.lefilleul@orange.com>
Tue, 3 Nov 2020 08:57:02 +0000 (09:57 +0100)
committerVirginie <virginie.lefilleul@orange.com>
Wed, 4 Nov 2020 15:21:43 +0000 (16:21 +0100)
Issue-ID: INT-1764

Signed-off-by: Virginie <virginie.lefilleul@orange.com>
Change-Id: Id6ae70d90d2e1f360642160768b4658d17c45046
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Signed-off-by: Virginie <virginie.lefilleul@orange.com>
security/scripts/check_security_root.sh
security/scripts/check_unlimitted_pods.sh

index 5dd40f8..8fd35db 100644 (file)
@@ -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
index 1fc5e69..2e2a0e7 100644 (file)
@@ -41,6 +41,13 @@ echo "--------------------  ONAP Security tests   ----------------------------"
 echo "--------------------  Test pods without limit   ------------------------"
 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