X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fbasic_08-disable_port_security_network_level.robot;fp=robot-systest%2Ftestsuite%2Fbasic_08-disable_port_security_network_level.robot;h=7e65c9e858f6014c3005cae26c3389ecbae19eba;hb=5b7332fbe46cc12c39ee85f7a9c8a8b09b60e939;hp=85350148d74584fba224d53e85a680e2b7268b07;hpb=661ba4f167f7c68eeb87cb97ae254a0034a48dbb;p=osm%2Ftests.git diff --git a/robot-systest/testsuite/basic_08-disable_port_security_network_level.robot b/robot-systest/testsuite/basic_08-disable_port_security_network_level.robot index 8535014..7e65c9e 100644 --- a/robot-systest/testsuite/basic_08-disable_port_security_network_level.robot +++ b/robot-systest/testsuite/basic_08-disable_port_security_network_level.robot @@ -61,8 +61,8 @@ Instantiate Network Service Check Port Security Is Disabled [Tags] disable_port_security sanity regression - ${rc} ${disabled_ports}= Run and Return RC and Output osm ns-show ${ns_name} | grep -c '${port_disabled_msg}' - Run Keyword Unless ${disabled_ports} > 6 Fail msg=Found only '${disabled_ports}' matches for '${port_disabled_msg}' + ${rc} ${disabled_ports}= Run and Return RC and Output osm ns-show ${ns_name} --literal | grep -c '${port_disabled_msg}' + Run Keyword Unless ${disabled_ports} > 0 Fail msg=Found '${disabled_ports}' matches for '${port_disabled_msg}' Delete NS Instance