X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=stest%2Fcommon.tcl;fp=stest%2Fcommon.tcl;h=a85239ca1a643b2834120ffe3ac33e3aca87010d;hb=7f12e156476f9daf7f57af3a9b76ad88c56ff5b6;hp=f480948b27644cbc24aae5b1070345dd3ced8199;hpb=78687c877d9e88653c6f82b57a552f4befc91c83;p=secnet.git diff --git a/stest/common.tcl b/stest/common.tcl index f480948..a85239c 100644 --- a/stest/common.tcl +++ b/stest/common.tcl @@ -186,18 +186,20 @@ proc spawn-secnet {location site} { *PRELOAD* { puts -nonewline " $k=$env($k)" } } } - puts " $argl" if {[info exists env($divertk)]} { switch -glob $env($divertk) { i { + puts " $argl" puts -nonewline "run ^ command, hit return " flush stdout gets stdin set argl {} } 0 - "" { + puts " $argl" } * { + puts " $argl" set argl [split $env($divertk)] } }