From: Ian Jackson Date: Sun, 8 Dec 2019 12:51:40 +0000 (+0000) Subject: stest: Require SECNET_STEST_DIVERT_* paths to start / or ./ X-Git-Tag: v0.6.0~24 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=bcfb50d898bac710eb1985ff7c0fe72660572fd7;p=secnet.git stest: Require SECNET_STEST_DIVERT_* paths to start / or ./ Signed-off-by: Ian Jackson --- diff --git a/stest/common.tcl b/stest/common.tcl index 729d8fe..a8651d6 100644 --- a/stest/common.tcl +++ b/stest/common.tcl @@ -198,11 +198,14 @@ proc spawn-secnet {location site} { 0 - "" { puts " $argl" } - * { + /* - ./* { puts " $argl" set argl [split $env($divertk)] puts "... $argl" } + * { + error "$divertk not understood" + } } } if {[llength $argl]} {