summaryrefslogtreecommitdiffstats
path: root/src/test/test4.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test4.sh')
-rwxr-xr-xsrc/test/test4.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test4.sh b/src/test/test4.sh
new file mode 100755
index 0000000..e1e9f2e
--- /dev/null
+++ b/src/test/test4.sh
@@ -0,0 +1,6 @@
+#!/bin/sh -xe
+
+rm -f test4.dnstap
+./writer_pop test4.dnstap > test4.out
+./reader_read test4.dnstap | grep -v _time | grep -v ^version: >> test4.out
+diff -u "$srcdir/test4.gold" test4.out