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