From: George Thessalonikefs Date: Mon, 30 Jan 2023 10:33:58 +0000 (+0100) Subject: - Add duration variable for speed_local.test. X-Git-Tag: release-1.19.0rc1~38^2~30 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24e6d1e18ead719ff80b12aebd8c5ad20b8ec76e;p=thirdparty%2Funbound.git - Add duration variable for speed_local.test. --- diff --git a/doc/Changelog b/doc/Changelog index 516b69a49..fa41e5128 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -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. diff --git a/testdata/speed_local.tdir/speed_local.test b/testdata/speed_local.tdir/speed_local.test index 684b3c522..6ad1ba737 100644 --- a/testdata/speed_local.tdir/speed_local.test +++ b/testdata/speed_local.tdir/speed_local.test @@ -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