summaryrefslogtreecommitdiffstats
path: root/plugins/rssm/test1.sh
blob: d43b9476be5d2923291e5e4df05c29bb9cea3b04 (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

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