From bcfb50d898bac710eb1985ff7c0fe72660572fd7 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sun, 8 Dec 2019 12:51:40 +0000 Subject: [PATCH] stest: Require SECNET_STEST_DIVERT_* paths to start / or ./ Signed-off-by: Ian Jackson --- stest/common.tcl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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]} { -- 2.30.2