summaryrefslogtreecommitdiffstats
path: root/tests/print-flags.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/print-flags.sh')
-rwxr-xr-xtests/print-flags.sh29
1 files changed, 0 insertions, 29 deletions
diff --git a/tests/print-flags.sh b/tests/print-flags.sh
deleted file mode 100755
index cc1eb1a..0000000
--- a/tests/print-flags.sh
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-for i in x xx X XX A AA; do
- #
- # We cannot rely on, for example, "print-x.out" and
- # "print-X.out" being different files - we might be running
- # this on a case-insensitive file system, e.g. a Windows
- # file system or a case-insensitive HFS+ file system on
- # Mac OS X.
- #
- # Therefore, for "X" and "XX", we have "print-capX.out"
- # and "print-capXX.out".
- #
- if test $i = X
- then
- printname=capX
- elif test $i = XX
- then
- printname=capXX
- else
- printname=$i
- fi
- if (../tcpdump -$i -s0 -nr print-flags.pcap | tee NEW/print-$printname.new | diff - print-$printname.out >DIFF/print-$printname.out.diff )
- then
- echo print-$i passed.
- else
- echo print-$i failed.
- fi
-done
OpenPOWER on IntegriCloud