X-Git-Url: http://gitweb.michael.orlitzky.com/?p=haeredes.git;a=blobdiff_plain;f=test%2Fshell%2Fmanpage-no-append-root.test;fp=test%2Fshell%2Fmanpage-no-append-root.test;h=8b7efce79a2602cb95cd439e992922f226b12359;hp=0000000000000000000000000000000000000000;hb=020ce4ca32627a92a6ed47922543912a57195377;hpb=7b1f25b5a8f60c2f388eff66a4532f424820e1d6 diff --git a/test/shell/manpage-no-append-root.test b/test/shell/manpage-no-append-root.test new file mode 100644 index 0000000..8b7efce --- /dev/null +++ b/test/shell/manpage-no-append-root.test @@ -0,0 +1,9 @@ +# Test the "no-append-root" example from the man page. + +# If you add "--no-append-root" to the previous "example.com" example +# (without adding the trailing dot), then things go wrong. +echo "example.com" | dist/build/haeredes/haeredes --no-append-root a.iana-servers.net b.iana-servers.net +>>> +Domain "example.com" delegates somewhere else: "b.iana-servers.net." "a.iana-servers.net." +>>>= 0 +