]> gitweb.michael.orlitzky.com - haeredes.git/blobdiff - test/shell/manpage-dns-errors.test
test: add a shelltestrunner test suite for the man page examples.
[haeredes.git] / test / shell / manpage-dns-errors.test
diff --git a/test/shell/manpage-dns-errors.test b/test/shell/manpage-dns-errors.test
new file mode 100644 (file)
index 0000000..f3e9251
--- /dev/null
@@ -0,0 +1,6 @@
+# Test the example given in the man page which shows that most DNS
+#  errors are ignored.
+
+echo "example.com" | dist/build/haeredes/haeredes --timeout=1 --server 10.1.46.12 ns1.example.com
+>>>
+>>>= 0