X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=stest%2Fcommon.tcl;fp=stest%2Fcommon.tcl;h=f480948b27644cbc24aae5b1070345dd3ced8199;hb=78687c877d9e88653c6f82b57a552f4befc91c83;hp=5895568b9a32ef7fdc8f3d6bdbc2d8beddc10c85;hpb=fb6baee0615a82ae5d46ea747b699a125af57ba9;p=secnet.git 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 }