tests: Fix in_port(name) test for ofproto/trace.
authorJoe Stringer <joestringer@nicira.com>
Wed, 20 May 2015 17:35:15 +0000 (10:35 -0700)
committerJoe Stringer <joestringer@nicira.com>
Wed, 27 May 2015 17:55:55 +0000 (10:55 -0700)
Commit c2a77f33ade (tests/ofproto-dpif: Use vlog to test dpif
behaviour.) mistakenly changed the test which checked that ovs-dpctl
accepts named ports as input. Restore the name to the test.

Reported-by: Gurucharan Shetty <gshetty@nicira.com>
Signed-off-by: Joe Stringer <joestringer@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
tests/ofproto-dpif.at

index 5e6bf83..50e820f 100644 (file)
@@ -2687,7 +2687,7 @@ in_port=2 actions=output:1
 ])
 AT_CHECK([ovs-ofctl add-flows br0 flows.txt])
 
-odp_flow="in_port(1)"
+odp_flow="in_port(p1)"
 br_flow="in_port=1"
 # Test command: ofproto/trace odp_flow with in_port as a name.
 AT_CHECK([ovs-appctl ofproto/trace "$odp_flow"], [0], [stdout])