X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Fodp.at;h=90a11920a68a401e2c57552baa698866a153056f;hb=b0f7b9b5c98557d159e4a12f125eacbf2a04a25b;hp=e4c7425e7fddd33104cade686011f60a9174928c;hpb=60258dcba68383473313cc214431fd212bdb1016;p=openvswitch diff --git a/tests/odp.at b/tests/odp.at index e4c7425e..90a11920 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.'