- Add duration variable for speed_local.test.

This commit is contained in:
George Thessalonikefs 2023-01-30 11:33:58 +01:00
parent 8b9382998d
commit 24e6d1e18e
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,6 @@
30 January 2023: George
- Add duration variable for speed_local.test.
26 January 2023: Wouter
- Fix acx_nlnetlabs.m4 for -Wstrict-prototypes.

View File

@ -9,8 +9,11 @@ PRE="../.."
get_make
(cd $PRE; $MAKE perf)
# seconds per test
dur=1
echo "> perf version.server"
$PRE/perf -d 1 -a "version.server CH TXT -" 127.0.0.1@$UNBOUND_PORT 2>&1 |
$PRE/perf -d $dur -a "version.server CH TXT -" 127.0.0.1@$UNBOUND_PORT 2>&1 |
tee outfile
echo -n "version-server " > line.txt
@ -25,7 +28,7 @@ fi
echo "> perf localhost"
$PRE/perf -d 1 -a "localhost IN A -" 127.0.0.1@$UNBOUND_PORT 2>&1 |
$PRE/perf -d $dur -a "localhost IN A -" 127.0.0.1@$UNBOUND_PORT 2>&1 |
tee outfile
echo -n "localhost-addr " >> line.txt