summaryrefslogtreecommitdiffstats
path: root/src/test/test3.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test3.sh')
-rwxr-xr-xsrc/test/test3.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test3.sh b/src/test/test3.sh
new file mode 100755
index 0000000..a19eeb0
--- /dev/null
+++ b/src/test/test3.sh
@@ -0,0 +1,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