X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=tests%2Fodp.at;h=90a11920a68a401e2c57552baa698866a153056f;hb=fea393b1d6b2729a784b898dbdd48d30d42e3ff7;hp=e4c7425e7fddd33104cade686011f60a9174928c;hpb=60258dcba68383473313cc214431fd212bdb1016;p=sliver-openvswitch.git diff --git a/tests/odp.at b/tests/odp.at index e4c7425e7..90a11920a 100644 --- a/tests/odp.at +++ b/tests/odp.at @@ -34,7 +34,8 @@ in_port(1),eth(src=00:01:02:03:04:05,dst=10:11:12:13:14:15),eth_type(0x0806),arp echo echo '# Valid forms with VLAN header.' - sed 's/eth([[^)]]*)/&,vlan(vid=99,pcp=7)/' odp-base.txt + sed 's/\(eth([[^)]]*)\),*/\1,eth_type(0x8100),vlan(vid=99,pcp=7),encap(/ +s/$/)/' odp-base.txt echo echo '# Valid forms with QoS priority.' @@ -43,7 +44,8 @@ in_port(1),eth(src=00:01:02:03:04:05,dst=10:11:12:13:14:15),eth_type(0x0806),arp echo echo '# Valid forms with tun_id and VLAN headers.' sed 's/^/tun_id(0xfedcba9876543210),/ -s/eth([[^)]]*)/&,vlan(vid=99,pcp=7)/' odp-base.txt +s/\(eth([[^)]]*)\),*/\1,eth_type(0x8100),vlan(vid=99,pcp=7),encap(/ +s/$/)/' odp-base.txt echo echo '# Valid forms with IP first fragment.'