Lines Matching full:states
298 states = ToolsHelper.get_output("/sbin/pfctl -ss")
299 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
300 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
348 # Ensure we have the states we'd expect
349 states = ToolsHelper.get_output("/sbin/pfctl -ss")
350 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
351 assert re.search(r"all sctp 192.0.2.10:.*192.0.2.3:1234", states)
368 states = ToolsHelper.get_output("/sbin/pfctl -ss")
369 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234.*SHUTDOWN", states)
375 # Assign two addresses to each end, and check for the expected states
400 states = ToolsHelper.get_output("/sbin/pfctl -ss")
401 print(states)
402 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.3:1234", states)
403 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.2:1234", states)
404 assert re.search(r"epair.*sctp 192.0.2.4:.*192.0.2.3:1234", states)
405 assert re.search(r"epair.*sctp 192.0.2.4:.*192.0.2.2:1234", states)
410 # Assign two addresses to each end, and check for the expected states
434 states = ToolsHelper.get_output("/sbin/pfctl -ss")
435 print(states)
436 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
437 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
438 assert re.search(r"all sctp 192.0.2.4:.*192.0.2.3:1234", states)
439 assert re.search(r"all sctp 192.0.2.4:.*192.0.2.2:1234", states)
458 # Set up a connection, which will try to create states for all addresses
468 states = ToolsHelper.get_output("/sbin/pfctl -ss | grep 192.0.2.2")
469 print(states)
470 assert(states.count('\n') <= 9)
508 states = ToolsHelper.get_output("/sbin/pfctl -ss")
509 assert re.search(r"all sctp 192.0.2.1:.*192.0.2.3:1234", states)
510 assert not re.search(r"all sctp 192.0.2.1:.*192.0.2.2:1234", states)
550 states = ToolsHelper.get_output("/sbin/pfctl -ss")
551 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.3:1234", states)
552 assert re.search(r"epair.*sctp 192.0.2.1:.*192.0.2.2:1234", states)
672 # Check that we have the expected states
673 states = ToolsHelper.get_output("/sbin/pfctl -ss")
674 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
675 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::2\[1234\]", states)
723 # Check that we have the expected states
724 states = ToolsHelper.get_output("/sbin/pfctl -ss")
725 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
726 assert re.search(r"all sctp 2001:db8::10\[.*2001:db8::3\[1234\]", states)
743 states = ToolsHelper.get_output("/sbin/pfctl -ss")
744 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\].*SHUTDOWN", states)
749 # Assign two addresses to each end, and check for the expected states
774 states = ToolsHelper.get_output("/sbin/pfctl -ss")
775 print(states)
776 assert re.search(r"epair.*sctp 2001:db8::1\[.*2001:db8::2\[1234\]", states)
777 assert re.search(r"epair.*sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
778 assert re.search(r"epair.*sctp 2001:db8::4\[.*2001:db8::2\[1234\]", states)
779 assert re.search(r"epair.*sctp 2001:db8::4\[.*2001:db8::3\[1234\]", states)
784 # Assign two addresses to each end, and check for the expected states
808 states = ToolsHelper.get_output("/sbin/pfctl -ss")
809 print(states)
810 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::2\[1234\]", states)
811 assert re.search(r"all sctp 2001:db8::1\[.*2001:db8::3\[1234\]", states)
812 assert re.search(r"all sctp 2001:db8::4\[.*2001:db8::2\[1234\]", states)
813 assert re.search(r"all sctp 2001:db8::4\[.*2001:db8::3\[1234\]", states)