-P option is not POSIX, so theoretically this test should fail in Cirrus FreeBSD envs but we are saved by the dependency on scapy (and the fact that Cirrus envs do not have AVX512?).
In any case, we have other ways to retrieve a single statistic in ovsdb. Let's avoid non POSIX stuff. Signed-off-by: David Marchand <[email protected]> --- tests/dpif-netdev.at | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dpif-netdev.at b/tests/dpif-netdev.at index 4bb8ec1bd3..4e6aa3ce04 100644 --- a/tests/dpif-netdev.at +++ b/tests/dpif-netdev.at @@ -3470,7 +3470,7 @@ cat packets | while read line; do AT_CHECK([ovs-appctl netdev-dummy/receive p1 $line], [0], [ignore]) done -OVS_WAIT_UNTIL([test `ovs-vsctl get interface p1 statistics | grep -oP 'rx_packets=\s*\K\d+'` -ge 16000]) +OVS_WAIT_UNTIL([test `ovs-vsctl get interface p1 statistics:rx_packets` -ge 16000]) OVS_VSWITCHD_STOP AT_CLEANUP @@ -3497,7 +3497,7 @@ cat packets | while read line; do AT_CHECK([ovs-appctl netdev-dummy/receive p1 $line], [0], [ignore]) done -OVS_WAIT_UNTIL([test `ovs-vsctl get interface p1 statistics | grep -oP 'rx_packets=\s*\K\d+'` -ge 16000]) +OVS_WAIT_UNTIL([test `ovs-vsctl get interface p1 statistics:rx_packets` -ge 16000]) OVS_VSWITCHD_STOP(["dnl /upcall: datapath reached the dynamic limit of .* flows./d"]) -- 2.53.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
