summaryrefslogtreecommitdiffstats
path: root/src/test/test6.sh
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-10-08 08:43:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-10-08 08:43:44 +0000
commitea1f8f1b6b3e7d8ead3758723b9aae08be758f0a (patch)
tree49f764f6134f55cb76b1577c9152deaabd6a58dc /src/test/test6.sh
parentAdding upstream version 2.7.0. (diff)
downloaddnsperf-ea1f8f1b6b3e7d8ead3758723b9aae08be758f0a.tar.xz
dnsperf-ea1f8f1b6b3e7d8ead3758723b9aae08be758f0a.zip
Adding upstream version 2.7.1.upstream/2.7.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test6.sh')
-rwxr-xr-xsrc/test/test6.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/test/test6.sh b/src/test/test6.sh
new file mode 100755
index 0000000..4eea79e
--- /dev/null
+++ b/src/test/test6.sh
@@ -0,0 +1,7 @@
+#!/bin/sh -xe
+
+test "$TEST_DNSPERF_WITH_NETWORK" = "1" || exit 0
+
+../dnsperf -vvv -d "$srcdir/datafile6" -s 1.1.1.1 >test6.out
+
+grep "NXDOMAIN 26" test6.out