summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2019-04-30 09:19:16 -0700
committerBen Pfaff <blp@ovn.org>2019-06-09 16:01:47 -0700
commit2e7ac3e0f9bdde325ec25bb0895dbd38c534300a (patch)
treed9a2528610beb68eb6ecb54eaea921e5a0cd9de7 /tests
parentdca97ce8eeaef7ff11f601a85137e312261b4dbc (diff)
downloadopenvswitch-2e7ac3e0f9bdde325ec25bb0895dbd38c534300a.tar.gz
ofp-actions: Improve error messages for verification failures in parsing.
Verification can fail for a variety of reasons but the code here always reported "Incorrect instruction ordering". Acked-by: Numan Siddique <nusiddiq@redhat.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/classifier.at6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/classifier.at b/tests/classifier.at
index 86f872db6..88818618b 100644
--- a/tests/classifier.at
+++ b/tests/classifier.at
@@ -297,12 +297,10 @@ AT_CHECK([ovs-ofctl add-flow br0 'actions=conjunction(3,1/2),note:41.42.43.44.45
AT_CHECK([ovs-ofctl add-flow br0 'actions=note:41.42.43.44.45.46,conjunction(3,1/2)'])
# It's not OK to use "conjunction" actions with other types of actions.
AT_CHECK([ovs-ofctl '-vPATTERN:console:%c|%p|%m' add-flow br0 'actions=output:1,conjunction(3,1/2)'], [1], [], [dnl
-ofp_actions|WARN|"conjunction" actions may be used along with "note" but not any other kind of action (such as the "output" action used here)
-ovs-ofctl: Incorrect instruction ordering
+ovs-ofctl: "conjunction" actions may be used along with "note" but not any other kind of action (such as the "output" action used here)
])
AT_CHECK([ovs-ofctl '-vPATTERN:console:%c|%p|%m' add-flow br0 'actions=conjunction(3,1/2),output:1'], [1], [], [dnl
-ofp_actions|WARN|"conjunction" actions may be used along with "note" but not any other kind of action (such as the "output" action used here)
-ovs-ofctl: Incorrect instruction ordering
+ovs-ofctl: "conjunction" actions may be used along with "note" but not any other kind of action (such as the "output" action used here)
])
OVS_VSWITCHD_STOP
AT_CLEANUP