summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/tests/print-flags.sh
blob: c99f78282aeb3d60b07931ef17eecad7f80688dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

uudecode print-flags.puu

for i in x xx X XX A AA; do
	if (../tcpdump -$i -s0 -nr print-flags.pcap | tee print-$i.new | diff - print-$i.out)
	then
		echo print-$i passed.
	else
		echo print-$i failed.
	fi
done
OpenPOWER on IntegriCloud