File: test5.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 306 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/dnso1tcp.pcap" -P "$plugin" -w test5 -Y -n test5 -A -S -D

diff test5.20180110.112241.543825 "$srcdir/test5.gold"