diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-31 07:37:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-03-31 07:37:43 +0000 |
commit | 759ea409fe884c184d51f81c73523015a468a1eb (patch) | |
tree | df4ba82f4118a4ac46c34a262f87f8ec26fdd240 /src/test/test2.sh | |
parent | Adding upstream version 2.5.0+debian. (diff) | |
download | dnsperf-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/test2.sh')
-rwxr-xr-x | src/test/test2.sh | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/test/test2.sh b/src/test/test2.sh index 56932f9..e42ef49 100755 --- a/src/test/test2.sh +++ b/src/test/test2.sh @@ -72,6 +72,12 @@ grep -q "Queries sent: *2" test2.out # May work on slower systems ../resperf -s $ip -m 1 -d "$srcdir/datafile2" -r 2 -c 2 -M dot || true +# TYPE test +../dnsperf -s $ip -d "$srcdir/datafile5" -n 1 -W >test2.out +cat test2.out +grep -q "Queries sent: *4" test2.out +grep -q "Warning: invalid qtype: TYPE99999999" test2.out + done # for ip ../dnsperf -s 127.66.66.66 -d "$srcdir/datafile" -vvvv -m tcp -n 1 & @@ -82,15 +88,6 @@ pkill -KILL -u `id -u` dnsperf || true sleep 2 pkill -KILL -u `id -u` dnsperf || true -! echo "invalid" | ../dnsperf -s 127.66.66.66 -m tcp -! echo "invalid invalid" | ../dnsperf -s 127.66.66.66 -m tcp -echo "invalid" | ../dnsperf -u -s 127.66.66.66 -m tcp & -sleep 2 -pkill -KILL -u `id -u` dnsperf || true -echo "invalid\ninvalid" | ../dnsperf -u -s 127.66.66.66 -m tcp & -sleep 2 -pkill -KILL -u `id -u` dnsperf || true - ! echo "google.com A" \ | ../dnsperf -W -s 1.1.1.1 -y tooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooong:Ax42vsuHBjQOKlVHO8yU1zGuQ5hjeSz01LXiNze8pb8= \ | grep "adding TSIG: invalid owner name" |