summaryrefslogtreecommitdiff
path: root/tests/tunnel-push-pop.at
diff options
context:
space:
mode:
authorPravin B Shelar <pshelar@ovn.org>2016-03-24 11:04:57 -0700
committerPravin B Shelar <pshelar@ovn.org>2016-03-24 11:37:26 -0700
commit56e18591d40301f557ccdf081369e6389e0f4f9e (patch)
tree17f8a2d9946e2980b59fb2417c66757d5d5cd57a /tests/tunnel-push-pop.at
parentec6c537986b4c7dc852575107e32184b33d974e8 (diff)
downloadopenvswitch-56e18591d40301f557ccdf081369e6389e0f4f9e.tar.gz
tunnel-tests: Fix travis build failure.
Travis does not allow tcpdump utility which causes the neighbour discovery and ARP verification tests failures. Following patch fixes the issue by using ovs-pcap utility instead of tcpdump. Suggested-by: Daniele Di Proietto <diproiettod@vmware.com> Signed-off-by: Pravin B Shelar <pshelar@ovn.org> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'tests/tunnel-push-pop.at')
-rw-r--r--tests/tunnel-push-pop.at10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/tunnel-push-pop.at b/tests/tunnel-push-pop.at
index ed249daa4..a7909d326 100644
--- a/tests/tunnel-push-pop.at
+++ b/tests/tunnel-push-pop.at
@@ -43,13 +43,13 @@ dnl Check ARP request
AT_CHECK([ovs-vsctl -- set Interface p0 options:pcap=p0.pcap])
AT_CHECK([ovs-appctl netdev-dummy/receive int-br 'in_port(2),eth(src=aa:55:aa:55:00:00,dst=f8:bc:12:ff:ff:ff),eth_type(0x0800),ipv4(src=1.1.3.92,dst=1.1.3.88,proto=1,tos=0,ttl=64,frag=no),icmp(type=0,code=0)'])
-AT_CHECK([tcpdump -vntr p0.pcap > p0.pcap.txt 2>&1])
+AT_CHECK([ovs-pcap p0.pcap > p0.pcap.txt 2>&1])
-AT_CHECK([cat p0.pcap.txt | grep 1.1.2.92 | uniq], [0], [dnl
-ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.1.2.92 tell 1.1.2.88, length 28
+AT_CHECK([cat p0.pcap.txt | grep 101025c | uniq], [0], [dnl
+ffffffffffffaa55aa55000008060001080006040001aa55aa550000010102580000000000000101025c
])
-AT_CHECK([cat p0.pcap.txt | grep 1.1.2.93 | uniq], [0], [dnl
-ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 1.1.2.93 tell 1.1.2.88, length 28
+AT_CHECK([cat p0.pcap.txt | grep 101025d | uniq], [0], [dnl
+ffffffffffffaa55aa55000008060001080006040001aa55aa550000010102580000000000000101025d
])
dnl Check ARP Snoop