test: add a shelltestrunner test suite for the man page examples.
[haeredes.git] / test / shell / bad-dns-server.test
1 # Test that we get an error code upon exiting if the given --server
2 # is unusable for some reason.
3
4 echo "example.com" | dist/build/haeredes/haeredes --server localhost a.iana-servers.net b.iana-servers.net
5 >>>2
6 Bad DNS server or lookup error: IllegalDomain
7 >>>= 1