X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fofproto.at;h=a87f4b5fa189c62fa2c0bdccec1cbff4f57103cf;hb=44f645a583e383902962e517b706b5f17f6d4158;hp=45aa5491784bab16545d9ac5253d93ef8e01bf1c;hpb=e1db42d68bf896116277bf8dbc162ca6b5252803;p=sliver-openvswitch.git diff --git a/tests/ofproto.at b/tests/ofproto.at index 45aa54917..a87f4b5fa 100644 --- a/tests/ofproto.at +++ b/tests/ofproto.at @@ -585,7 +585,7 @@ AT_CHECK( -- --id=@t0 create Flow_Table name=main \ -- --id=@t1 create Flow_Table flow-limit=1024 \ -- set bridge br0 'flow_tables={1=@t1,0=@t0}' \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> <1> ]) @@ -628,7 +628,7 @@ AT_CHECK( -- --id=@t0 create Flow_Table name=main \ -- --id=@t1 create Flow_Table flow-limit=1024 \ -- set bridge br0 'flow_tables={1=@t1,0=@t0}' \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> <1> ]) @@ -650,7 +650,7 @@ AT_CHECK( [ovs-vsctl \ -- --id=@t0 create Flow_Table flow-limit=4 \ -- set bridge br0 flow_tables:0=@t0 \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> ]) # Add 4 flows. @@ -694,7 +694,7 @@ AT_CHECK( [ovs-vsctl \ -- --id=@t0 create Flow_Table flow-limit=4 \ -- set bridge br0 flow_tables:0=@t0 \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> ]) # Add 4 flows. @@ -733,7 +733,7 @@ AT_CHECK( [ovs-vsctl \ -- --id=@t0 create Flow_Table flow-limit=4 overflow-policy=evict \ -- set bridge br0 flow_tables:0=@t0 \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> ]) # Add 4 flows. @@ -791,7 +791,7 @@ AT_CHECK( [ovs-vsctl \ -- --id=@t0 create Flow_Table flow-limit=4 overflow-policy=evict \ -- set bridge br0 flow_tables:0=@t0 \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> ]) # Add 4 flows. @@ -852,7 +852,7 @@ AT_CHECK( overflow-policy=evict \ groups='"NXM_OF_IN_PORT[[]]"' \ -- set bridge br0 flow_tables:0=@t0 \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> ]) # Add 4 flows. @@ -934,7 +934,7 @@ AT_CHECK( overflow-policy=evict \ groups='"NXM_OF_IN_PORT[[]]"' \ -- set bridge br0 flow_tables:0=@t0 \ - | perl $srcdir/uuidfilt.pl], + | ${PERL} $srcdir/uuidfilt.pl], [0], [<0> ]) # Add 4 flows. @@ -1332,7 +1332,7 @@ echo >>expout "OFPT_ROLE_REPLY (OF1.2) (xid=0x2): role=equal" # Become slave (generation_id is initially undefined, so 2^63+2 should not be stale) ovs-appctl -t ovs-ofctl ofctl/send 031800180000000300000003000000008000000000000002 echo >>expout "send: OFPT_ROLE_REQUEST (OF1.2) (xid=0x3): role=slave generation_id=9223372036854775810" -echo >>expout "OFPT_ROLE_REPLY (OF1.2) (xid=0x3): role=slave" +echo >>expout "OFPT_ROLE_REPLY (OF1.2) (xid=0x3): role=slave generation_id=9223372036854775810" # Try to become the master using a stale generation ID ovs-appctl -t ovs-ofctl ofctl/send 031800180000000400000002000000000000000000000002 @@ -1343,7 +1343,7 @@ echo >>expout "OFPT_ROLE_REQUEST (OF1.2) (xid=0x4): role=master generation_id=2" # Become master using a valid generation ID ovs-appctl -t ovs-ofctl ofctl/send 031800180000000500000002000000000000000000000001 echo >>expout "send: OFPT_ROLE_REQUEST (OF1.2) (xid=0x5): role=master generation_id=1" -echo >>expout "OFPT_ROLE_REPLY (OF1.2) (xid=0x5): role=master" +echo >>expout "OFPT_ROLE_REPLY (OF1.2) (xid=0x5): role=master generation_id=1" ovs-appctl -t ovs-ofctl ofctl/barrier echo >>expout "OFPT_BARRIER_REPLY (OF1.2) (xid=0x3):" @@ -1534,7 +1534,7 @@ sort=' } print $_ foreach sort(@buffer); ' -AT_CHECK([sed 's/ (xid=0x[[1-9a-fA-F]][[0-9a-fA-F]]*)//' monitor.log | perl -e "$sort"], [0], +AT_CHECK([sed 's/ (xid=0x[[1-9a-fA-F]][[0-9a-fA-F]]*)//' monitor.log | ${PERL} -e "$sort"], [0], [NXST_FLOW_MONITOR reply (xid=0x0): event=ADDED table=0 cookie=0 in_port=0,dl_vlan=124 actions=output:2 NXST_FLOW_MONITOR reply (xid=0x0): @@ -1657,7 +1657,7 @@ ovs-appctl -t ovs-ofctl ofctl/block # Add $n_msgs flows. (echo "in_port=2,actions=output:2" -perl -e ' +${PERL} -e ' for ($i = 0; $i < '$n_msgs'; $i++) { print "cookie=1,reg1=$i,actions=drop\n"; }