diff options
Diffstat (limited to '')
-rwxr-xr-x | src/test/test3.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/test/test3.sh b/src/test/test3.sh index 3c0e44f..006ea2e 100755 --- a/src/test/test3.sh +++ b/src/test/test3.sh @@ -44,3 +44,11 @@ echo "" | ../dnsperf -W -y test: | grep "unable to setup TSIG, secret empty" ! ../resperf -m 123.45 unexpected argument ! ../resperf -m 123.. ! ../resperf -m 123a + +echo "invalid" | ../dnsperf -W | grep "invalid query input format: invalid" +echo "invalid invalid" | ../dnsperf -W | grep "invalid qtype: invalid" +if ! echo "invalid" | ../dnsperf -u -W | grep "Unable to dynamic update, support not built in"; then + echo "invalid" | ../dnsperf -u -W | grep "incomplete update: invalid" + echo -e "invalid\ninvalid" | ../dnsperf -u -W | grep "invalid update command: invalid" + echo -e "invalid\ninvalid" | ../dnsperf -u -W | grep "error processing update command: invalid" +fi |