aboutsummaryrefslogtreecommitdiffstats
path: root/security/scripts/check_security_root.sh
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2020-11-05 07:44:44 +0000
committerGerrit Code Review <gerrit@onap.org>2020-11-05 07:44:44 +0000
commit9ff5aec3172138b1bf13e5b0b195666fe1794aae (patch)
treeec9e9d64a36c297de7b3b4e9800995dc63c4adb9 /security/scripts/check_security_root.sh
parent71ec04ff87e22027b954e4816b1c795808579988 (diff)
parent2b56600b62de822f33135a21b6c5354561f7cbc9 (diff)
Merge "Display waivers content for the security tests"
Diffstat (limited to 'security/scripts/check_security_root.sh')
-rw-r--r--security/scripts/check_security_root.sh7
1 files changed, 7 insertions, 0 deletions
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