Lines Matching full:states

295         states = ToolsHelper.get_output("/sbin/pfctl -ss")
296 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
297 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
342 # Ensure we have the states we'd expect
343 states = ToolsHelper.get_output("/sbin/pfctl -ss")
344 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
345 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states)
362 states = ToolsHelper.get_output("/sbin/pfctl -ss")
363 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234.*SHUTDOWN", states)
369 # Assign two addresses to each end, and check for the expected states
391 states = ToolsHelper.get_output("/sbin/pfctl -ss")
392 print(states)
393 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.3:1234", states)
394 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.2:1234", states)
395 assert re.search(r"epair.*sctp 192.0.2.4:.*192.0.2.3:1234", states)
396 assert re.search(r"epair.*sctp 192.0.2.4:.*192.0.2.2:1234", states)
401 # Assign two addresses to each end, and check for the expected states
422 states = ToolsHelper.get_output("/sbin/pfctl -ss")
423 print(states)
424 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
425 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
426 assert re.search(r"all sctp 192.0.2.4:.*192.0.2.3:1234", states)
427 assert re.search(r"all sctp 192.0.2.4:.*192.0.2.2:1234", states)
462 states = ToolsHelper.get_output("/sbin/pfctl -ss")
463 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
464 assert not re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
501 states = ToolsHelper.get_output("/sbin/pfctl -ss")
502 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.3:1234", states)
503 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.2:1234", states)
553 # Check that we have the expected states
554 states = ToolsHelper.get_output("/sbin/pfctl -ss")
555 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
556 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::2\[1234\]", states)
601 # Check that we have the expected states
602 states = ToolsHelper.get_output("/sbin/pfctl -ss")
603 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
604 assert re.search(r"all sctp 2001:db8::10\[.*2001:db8::3\[1234\]", states)
621 states = ToolsHelper.get_output("/sbin/pfctl -ss")
622 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\].*SHUTDOWN", states)
627 # Assign two addresses to each end, and check for the expected states
649 states = ToolsHelper.get_output("/sbin/pfctl -ss")
650 print(states)
651 assert re.search(r"epair.*sctp 2001:db8::1\[.*2001:db8::2\[1234\]", states)
652 assert re.search(r"epair.*sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
653 assert re.search(r"epair.*sctp 2001:db8::4\[.*2001:db8::2\[1234\]", states)
654 assert re.search(r"epair.*sctp 2001:db8::4\[.*2001:db8::3\[1234\]", states)
659 # Assign two addresses to each end, and check for the expected states
680 states = ToolsHelper.get_output("/sbin/pfctl -ss")
681 print(states)
682 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::2\[1234\]", states)
683 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
684 assert re.search(r"all sctp 2001:db8::4\[.*2001:db8::2\[1234\]", states)
685 assert re.search(r"all sctp 2001:db8::4\[.*2001:db8::3\[1234\]", states)