]> gitweb.michael.orlitzky.com - haeredes.git/blobdiff - test/shell/manpage-example.com.test
test: add a shelltestrunner test suite for the man page examples.
[haeredes.git] / test / shell / manpage-example.com.test
diff --git a/test/shell/manpage-example.com.test b/test/shell/manpage-example.com.test
new file mode 100644 (file)
index 0000000..3f36a14
--- /dev/null
@@ -0,0 +1,6 @@
+# Test the "example.com" example from the man page.
+
+# These are the two expected name servers, so haerdes should be quiet.
+echo "example.com" | dist/build/haeredes/haeredes a.iana-servers.net b.iana-servers.net
+>>>
+>>>= 0