diff options
author | mrichomme <morgan.richomme@orange.com> | 2020-03-12 11:48:57 +0100 |
---|---|---|
committer | Bartek Grzybowski <b.grzybowski@partner.samsung.com> | 2020-03-12 12:55:04 +0000 |
commit | 152a480ec12d922ddb3c83930924d64faed52c55 (patch) | |
tree | e59c9ac85c573cd79469a4634edcd0a5d0bab42f /test | |
parent | 171c263471e54ee036150ae5e5a3aabcae123be2 (diff) |
Fix regex for http xfail list
in CI we got an error sed: unsupported command o
due to space management in the sed command
Issue-ID: INT-1480
Signed-off-by: mrichomme <morgan.richomme@orange.com>
Change-Id: I44c6ecd7c47ec02b76c7932bb86de0a58726d93d
Diffstat (limited to 'test')
-rwxr-xr-x | test/security/check_for_nonssl_endpoints.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/security/check_for_nonssl_endpoints.sh b/test/security/check_for_nonssl_endpoints.sh index 6056e0371..9e98520af 100755 --- a/test/security/check_for_nonssl_endpoints.sh +++ b/test/security/check_for_nonssl_endpoints.sh @@ -105,7 +105,7 @@ while IFS= read -r line; do wl_port=$(echo $wl_line | awk {'print $2'}) if grep -e $wl_name.*$wl_port <<< "$line"; then # Found in white list, exclude it - sed -i "/$line/d" $FILTERED_PORTS_LIST + sed -i "/^$wl_name.*$wl_port/d" $FILTERED_PORTS_LIST fi done < $XF_RAW_FILE_PATH done < $FILTERED_PORTS_LIST |