[ovs-dev] [PATCH v3 1/7] system-userspace-macros: allow passing sed args to OVS_TRAFFIC_VSWITCHD_STOP()
Eric Garver
e at erig.me
Thu Sep 15 00:26:39 UTC 2016
Passing sed arguments to OVS_TRAFFIC_VSWITCHD_STOP() was being ignored
for check-system-userspace. This is useful to selective ignore log
messages.
Signed-off-by: Eric Garver <e at erig.me>
---
tests/system-userspace-macros.at | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/system-userspace-macros.at b/tests/system-userspace-macros.at
index 7e10b6c21f31..631f71a9aa10 100644
--- a/tests/system-userspace-macros.at
+++ b/tests/system-userspace-macros.at
@@ -35,7 +35,7 @@ m4_define([OVS_TRAFFIC_VSWITCHD_START],
# removal.
m4_define([OVS_TRAFFIC_VSWITCHD_STOP],
[OVS_VSWITCHD_STOP([dnl
-"/netdev_linux.*obtaining netdev stats via vport failed/d
+$1";/netdev_linux.*obtaining netdev stats via vport failed/d
/dpif_netlink.*Generic Netlink family 'ovs_datapath' does not exist. The Open vSwitch kernel module is probably not loaded./d"])
AT_CHECK([:; $2])
])
--
2.5.5
More information about the dev
mailing list