File: test1.sh

package info (click to toggle)
dnscap 2.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 4,588 kB
  • sloc: ansic: 18,631; sh: 1,428; python: 1,162; makefile: 469; cpp: 306; perl: 169
file content (11 lines) | stat: -rwxr-xr-x 304 bytes parent folder | download | duplicates (4)
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"