X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Flearn.at;h=5eb3e5d27b16169861d5d199e7b688525eb6f9f6;hb=a6e73618f53138eb6f55e2c66ff8c649794fd8dd;hp=8f59b63ccc94a9c655ea2bd510f136a6bf5f8675;hpb=780325b5b8d4c0552b4b7719e0a38200d99f6b08;p=sliver-openvswitch.git diff --git a/tests/learn.at b/tests/learn.at index 8f59b63cc..5eb3e5d27 100644 --- a/tests/learn.at +++ b/tests/learn.at @@ -50,12 +50,14 @@ AT_CLEANUP AT_SETUP([learning action - invalid prerequisites]) AT_CHECK([[ovs-ofctl parse-flow 'actions=learn(load:5->NXM_OF_IP_DST[])']], - [1], [], - [[ovs-ofctl: load:5->NXM_OF_IP_DST[]: cannot specify destination field ip_dst because prerequisites are not satisfied -]]) + [1], [], [stderr]) +AT_CHECK([sed -e 's/.*|meta_flow|WARN|//' < stderr], [0], + [[destination field ip_dst lacks correct prerequisites +]], [[]]) AT_CHECK([[ovs-ofctl parse-flow 'actions=learn(load:NXM_OF_IP_DST[]->NXM_NX_REG1[])']], - [1], [], - [[ovs-ofctl: load:NXM_OF_IP_DST[]->NXM_NX_REG1[]: cannot specify source field ip_dst because prerequisites are not satisfied + [1], [], [stderr]) +AT_CHECK([sed -e 's/.*|meta_flow|WARN|//' < stderr], [0], + [[source field ip_dst lacks correct prerequisites ]]) AT_CLEANUP