From 01a945b81c2af18fdc1dd6f0a7ed74e71ec46a02 Mon Sep 17 00:00:00 2001 From: Gurucharan Shetty Date: Fri, 12 Jun 2015 10:40:57 -0700 Subject: [PATCH] ofproto.at: Don't specify the specific error. On Windows, we don't do a good job of translating errors to Linux type errors. So in the tests, don't look for a specific type of error. Signed-off-by: Gurucharan Shetty Acked-by: Alin Gabriel Serdean --- tests/ofproto.at | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/ofproto.at b/tests/ofproto.at index 1112403ac..c3feabaa2 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -3676,13 +3676,14 @@ add table=254 actions=drop ]) AT_CHECK([ovs-ofctl --bundle add-flows br0 flows.txt 2>&1 | sed '/|WARN|/d -s/unix:.*br0\.mgmt/unix:br0.mgmt/'], [0], [dnl +s/unix:.*br0\.mgmt/unix:br0.mgmt/' | sed 's/(.* error)/(error)/'], +[0], [dnl OFPT_ERROR (OF1.4) (xid=0xb): OFPBRC_EPERM OFPT_FLOW_MOD (OF1.4) (xid=0xb): ADD table:254 actions=drop OFPT_ERROR (OF1.4) (xid=0xd): OFPBFC_MSG_FAILED OFPT_BUNDLE_CONTROL (OF1.4) (xid=0xd): bundle_id=0 type=COMMIT_REQUEST flags=atomic ordered -ovs-ofctl: talking to unix:br0.mgmt (Protocol error) +ovs-ofctl: talking to unix:br0.mgmt (error) ]) AT_CHECK([ovs-ofctl dump-flows br0 | ofctl_strip | sort], [0], [dnl -- 2.20.1