summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/tests/mpls-ldp-hello.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tcpdump/tests/mpls-ldp-hello.sh')
-rwxr-xr-xcontrib/tcpdump/tests/mpls-ldp-hello.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/contrib/tcpdump/tests/mpls-ldp-hello.sh b/contrib/tcpdump/tests/mpls-ldp-hello.sh
new file mode 100755
index 0000000..b1a5b19
--- /dev/null
+++ b/contrib/tcpdump/tests/mpls-ldp-hello.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+uudecode mpls-ldp-hello.puu
+
+echo -n test mpls-ldp-hello ...
+../tcpdump -t -n -v -r mpls-ldp-hello.pcap >mpls-ldp-hello.new
+if diff mpls-ldp-hello.new mpls-ldp-hello.out
+then
+ echo passed.
+else
+ echo failed.
+fi
+
+
OpenPOWER on IntegriCloud