X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=tests%2Fofproto.at;fp=tests%2Fofproto.at;h=b3b8a0f7a29b2477788c6326c79b3cc8f36c0300;hb=56085be5fed24dbc44e01b6c72adcafe2328846f;hp=52e1ab40874f071bb471954ff8f1762389079bc0;hpb=5f4c5ff108f1e9d13715fd11873a531ae44fb6da;p=cascardo%2Fovs.git diff --git a/tests/ofproto.at b/tests/ofproto.at index 52e1ab408..b3b8a0f7a 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -240,6 +240,11 @@ AT_CHECK([ovs-ofctl queue-get-config br0 1], [0], [stdout]) AT_CHECK([STRIP_XIDS stdout], [0], [dnl OFPT_QUEUE_GET_CONFIG_REPLY: port=1 ]) +AT_CHECK([ovs-ofctl queue-get-config br0], [0], [stdout]) +AT_CHECK([STRIP_XIDS stdout | sort], [0], [dnl +OFPT_QUEUE_GET_CONFIG_REPLY: port=1 +OFPT_QUEUE_GET_CONFIG_REPLY: port=2 +]) AT_CHECK([ovs-ofctl queue-get-config br0 10], [0], [OFPT_ERROR (xid=0x2): OFPQOFC_BAD_PORT OFPT_QUEUE_GET_CONFIG_REQUEST (xid=0x2): port=10 @@ -254,6 +259,10 @@ AT_CHECK([ovs-ofctl -O OpenFlow12 queue-get-config br0 1], [0], [stdout]) AT_CHECK([STRIP_XIDS stdout], [0], [dnl OFPT_QUEUE_GET_CONFIG_REPLY (OF1.2): port=1 ]) +AT_CHECK([ovs-ofctl -O OpenFlow12 queue-get-config br0 ANY], [0], [stdout]) +AT_CHECK([STRIP_XIDS stdout], [0], [dnl +OFPT_QUEUE_GET_CONFIG_REPLY (OF1.2): port=ANY +]) AT_CHECK([ovs-ofctl -O OpenFlow12 queue-get-config br0 10], [0], [OFPT_ERROR (OF1.2) (xid=0x2): OFPQOFC_BAD_PORT OFPT_QUEUE_GET_CONFIG_REQUEST (OF1.2) (xid=0x2): port=10