chiark / gitweb /
stest: Require SECNET_STEST_DIVERT_* paths to start / or ./
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Dec 2019 12:51:40 +0000 (12:51 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 15 Feb 2020 21:56:54 +0000 (21:56 +0000)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
stest/common.tcl

index 729d8fea6149a4b54c4650c1002b4702aabe63cc..a8651d696069483dc732997cc36a02de7c496b38 100644 (file)
@@ -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]} {