diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-12 09:19:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-08-12 09:19:14 +0000 |
commit | ecc5838aff97659dd679f03edc8838205f868848 (patch) | |
tree | 85848124743d10e50adce2e36e3566b3d37b4ce7 /src/test/test5.sh | |
parent | Adding upstream version 2.6.0. (diff) | |
download | dnsperf-ecc5838aff97659dd679f03edc8838205f868848.tar.xz dnsperf-ecc5838aff97659dd679f03edc8838205f868848.zip |
Adding upstream version 2.7.0.upstream/2.7.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/test/test5.sh')
-rwxr-xr-x | src/test/test5.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/test/test5.sh b/src/test/test5.sh index 40c9b31..515a5ff 100755 --- a/src/test/test5.sh +++ b/src/test/test5.sh @@ -5,13 +5,17 @@ test "$TEST_DNSPERF_WITH_NETWORK" = "1" || exit 0 dumdumd=`which dumdumd` if [ -n "$dumdumd" ]; then + pkill -9 dumdumd || true + $dumdumd 127.0.0.1 5353 -r -D 100 & pid="$!" + sleep 2 ../dnsperf -s 127.0.0.1 -p 5353 -d "$srcdir/datafile" -t 2 -l 2 -Q 10 -m tcp kill "$pid" $dumdumd 127.0.0.1 5353 -r -D 10 & pid="$!" + sleep 2 ../dnsperf -s 127.0.0.1 -p 5353 -d "$srcdir/datafile" -t 2 -l 10 -Q 100 -m tcp kill "$pid" @@ -20,11 +24,13 @@ if [ -n "$dumdumd" ]; then $dumdumd 127.0.0.1 5353 -r -T -D 100 & pid="$!" + sleep 2 ../dnsperf -s 127.0.0.1 -p 5353 -d "$srcdir/datafile" -t 2 -l 2 -Q 10 -m dot kill "$pid" $dumdumd 127.0.0.1 5353 -r -T -D 10 & pid="$!" + sleep 2 ../dnsperf -s 127.0.0.1 -p 5353 -d "$srcdir/datafile" -t 2 -l 10 -Q 100 -m dot kill "$pid" |