[SECURITY] Fix waiver management of check_for_nonssl_ports test 10/123810/2
authormrichomme <morgan.richomme@orange.com>
Thu, 2 Sep 2021 12:41:31 +0000 (14:41 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Fri, 3 Sep 2021 12:06:46 +0000 (12:06 +0000)
There was a nit in the bash script preventing the cfail list to
be taken into account

Issue-ID: TEST-360

Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: Id8aec2b091cd00eee1c018dc529e1b38bb050275

test/security/check_for_nonssl_endpoints.sh

index 5a807fe..446792d 100755 (executable)
@@ -77,9 +77,9 @@ done
 
 echo "------------------------------------------------------------------------"
 # Display the waivers
-if [ -s $XL_FILE_PATH ]; then
+if [ -s $XF_FILE_PATH ]; then
   echo "-------------------- *** WARNING XFail List *** ------------------------"
-  cat $XL_FILE_PATH
+  cat $XF_FILE_PATH
   echo "------------------------------------------------------------------------"
 fi