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

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