summaryrefslogtreecommitdiffstats
path: root/src/test/test3.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 07:37:43 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 07:37:43 +0000
commit759ea409fe884c184d51f81c73523015a468a1eb (patch)
treedf4ba82f4118a4ac46c34a262f87f8ec26fdd240 /src/test/test3.sh
parentAdding upstream version 2.5.0+debian. (diff)
downloaddnsperf-759ea409fe884c184d51f81c73523015a468a1eb.tar.xz
dnsperf-759ea409fe884c184d51f81c73523015a468a1eb.zip
Adding upstream version 2.5.2.upstream/2.5.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test3.sh')
-rwxr-xr-xsrc/test/test3.sh8
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