summaryrefslogtreecommitdiff
path: root/tests/mpls-xlate.at
diff options
context:
space:
mode:
authorAndy Zhou <azhou@nicira.com>2015-05-20 13:46:01 -0700
committerAndy Zhou <azhou@nicira.com>2015-05-22 15:05:04 -0700
commit8f19f0a70352dfa555cffa4f7f34dab22870dc49 (patch)
treeac7a06bf6d5fd83708f44af07a094bf3cf7d483b /tests/mpls-xlate.at
parentfd8232b32790de08bdec24e523720af90c383dad (diff)
downloadopenvswitch-8f19f0a70352dfa555cffa4f7f34dab22870dc49.tar.gz
odp-util: always output recirc_id in hex
The match is in hex, this makes it more consistent. Signed-off-by: Joe Stringer <joestringer@nicira.com> Signed-off-by: Andy Zhou <azhou@nicira.com>
Diffstat (limited to 'tests/mpls-xlate.at')
-rw-r--r--tests/mpls-xlate.at4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mpls-xlate.at b/tests/mpls-xlate.at
index 571b8ce45..8f286c3a5 100644
--- a/tests/mpls-xlate.at
+++ b/tests/mpls-xlate.at
@@ -47,12 +47,12 @@ AT_CHECK([tail -1 stdout], [0],
dnl Double MPLS pop
AT_CHECK([ovs-appctl ofproto/trace ovs-dummy 'in_port(1),eth(src=f8:bc:12:44:34:b6,dst=f8:bc:12:46:58:e0),eth_type(0x8847),mpls(label=60,tc=0/0,ttl=64,bos=0)' -generate], [0], [stdout])
AT_CHECK([tail -1 stdout], [0],
- [Datapath actions: pop_mpls(eth_type=0x8847),recirc(1)
+ [Datapath actions: pop_mpls(eth_type=0x8847),recirc(0x1)
])
AT_CHECK([ovs-appctl ofproto/trace ovs-dummy 'recirc_id(1),in_port(1),eth(src=f8:bc:12:44:34:b6,dst=f8:bc:12:46:58:e0),eth_type(0x8847),mpls(label=50,tc=0/0,ttl=64,bos=0)' -generate], [0], [stdout])
AT_CHECK([tail -1 stdout], [0],
- [Datapath actions: pop_mpls(eth_type=0x800),recirc(2)
+ [Datapath actions: pop_mpls(eth_type=0x800),recirc(0x2)
])
AT_CHECK([ovs-appctl ofproto/trace ovs-dummy 'recirc_id(2),in_port(1),eth(src=f8:bc:12:44:34:b6,dst=f8:bc:12:46:58:e0),eth_type(0x0800),ipv4(src=1.1.2.92,dst=1.1.2.88,proto=47,tos=0,ttl=64,frag=no)' -generate], [0], [stdout])