]> gitweb.michael.orlitzky.com - haeredes.git/blob - test/shell/manpage-no-append-root.test
test: add a shelltestrunner test suite for the man page examples.
[haeredes.git] / test / shell / manpage-no-append-root.test
1 # Test the "no-append-root" example from the man page.
2
3 # If you add "--no-append-root" to the previous "example.com" example
4 # (without adding the trailing dot), then things go wrong.
5 echo "example.com" | dist/build/haeredes/haeredes --no-append-root a.iana-servers.net b.iana-servers.net
6 >>>
7 Domain "example.com" delegates somewhere else: "b.iana-servers.net." "a.iana-servers.net."
8 >>>= 0
9