summaryrefslogtreecommitdiffstats
path: root/plugins/rssm/test1.sh
blob: 13759f9850b7cdee5b397a860df08389e799f189 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh -xe

plugin=`find . -name 'rssm.so' | head -n 1`
if [ -z "$plugin" ]; then
    echo "Unable to find the RSSM plugin"
    exit 1
fi

../../src/dnscap -N -T -r "$srcdir/../../src/test/dns.pcap" -P "$plugin" -w test1 -Y -n test1 -A -S -D -L

diff test1.20161020.152301.075993 "$srcdir/test1.gold"