summaryrefslogtreecommitdiffstats
path: root/src/test/test12.sh
blob: 9243ed98c73f804b25b644f9630d2b9941dae6c3 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh -xe

test -e dns.pcap || ln -s "$srcdir/dns.pcap" dns.pcap

if ! ../dnscap -g -r dns.pcap -w test12 -W .gz 2>test12.out; then
    grep -qF "gzip compression requested but not supported" test12.out && exit 0
    exit 1
fi