summaryrefslogtreecommitdiffstats
path: root/src/test/test3.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 07:37:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-03-31 07:37:49 +0000
commit0b78d239dfb4e80d1b213e7a925ae1fa0b5340be (patch)
treef6aefbd4d12e10281bae5d27a6cabe38fd5f47df /src/test/test3.sh
parentRepeating sections in package block in control for consistency. (diff)
downloaddnsperf-0b78d239dfb4e80d1b213e7a925ae1fa0b5340be.tar.xz
dnsperf-0b78d239dfb4e80d1b213e7a925ae1fa0b5340be.zip
Merging upstream version 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