From 78687c877d9e88653c6f82b57a552f4befc91c83 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Dec 2019 12:46:11 +0000 Subject: [PATCH] stest: Honour SECNET_STEST_TIMEOUT_MUL to multiply timeouts This is handy, for example, when running under valgrind. Signed-off-by: Ian Jackson --- stest/common.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stest/common.tcl b/stest/common.tcl index 5895568..f480948 100644 --- a/stest/common.tcl +++ b/stest/common.tcl @@ -350,6 +350,8 @@ proc udp-relay {data src sock args} { } proc adj-after {timeout args} { + upvar #0 env(SECNET_STEST_TIMEOUT_MUL) mul + if {[info exists mul]} { set timeout [expr {$timeout * $mul}] } eval after $timeout $args } -- 2.30.2