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

rm -f test3.dnstap
./writer_write test3.dnstap > test3.out
./reader_push test3.dnstap 4096 | grep -v _time | grep -v ^version: >> test3.out
diff -u "$srcdir/test3.gold" test3.out