X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=tests%2Fautopath.at;h=557c92c17f81d7447e44bd4a08681523d04e2f68;hb=95216219538e532732df6d2f51c0d7b69addae8c;hp=c3e0b346be99eede6b9d79d8f35d0d0eac28fb2b;hpb=27527aa09ce456796eeea728cef9528aa5612b70;p=openvswitch diff --git a/tests/autopath.at b/tests/autopath.at index c3e0b346..557c92c1 100644 --- a/tests/autopath.at +++ b/tests/autopath.at @@ -5,11 +5,14 @@ AT_CHECK([ovs-ofctl parse-flow 'actions=autopath(1, NXM_NX_REG0[[]])'], [0], [usable protocols: any chosen protocol: OpenFlow10-table_id OFPT_FLOW_MOD (xid=0x1): ADD actions=autopath(1,NXM_NX_REG0[[]]) -]) +], [stderr]) AT_CHECK([ovs-ofctl parse-flow 'actions=autopath(2, NXM_NX_REG0[[2..30]])'], [0], [usable protocols: any chosen protocol: OpenFlow10-table_id OFPT_FLOW_MOD (xid=0x1): ADD actions=autopath(2,NXM_NX_REG0[[2..30]]) +], [stderr]) +AT_CHECK([[sed 's/^[^|]*|[^|]*|//' stderr]], [0], [dnl +autopath|WARN|The autopath action is deprecated and may be removed in February 2013. Please email dev@openvswitch.org with concerns. ]) AT_CLEANUP @@ -21,7 +24,7 @@ AT_CLEANUP AT_SETUP([autopath action bad port]) AT_CHECK([ovs-ofctl parse-flow 'actions=autopath(bad, NXM_NX_REG0[[]])'], [1], [], - [ovs-ofctl: bad, NXM_NX_REG0[[]]: autopath id 0 is not in valid range 1 to 4294967295 + [ovs-ofctl: bad, NXM_NX_REG0[[]]: bad port number ]) AT_CLEANUP