From: Ian Jackson Date: Sun, 8 Dec 2019 13:04:01 +0000 (+0000) Subject: stest: Print spawn rune on a line by itself X-Git-Tag: v0.6.0~22 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=5f9e3ffe07bd4412e35e90637694a3e5bc2eac7a;p=secnet.git stest: Print spawn rune on a line by itself Especially useful with SECNET_STEST_DIVERT_*=i...: now you can c&p the whole line. Signed-off-by: Ian Jackson --- diff --git a/stest/common.tcl b/stest/common.tcl index 7ebe9d2..8897bd9 100644 --- a/stest/common.tcl +++ b/stest/common.tcl @@ -177,7 +177,7 @@ proc spawn-secnet {location site} { } set argl [list $secnet -dvnc $cf] set divertk SECNET_STEST_DIVERT_$site - puts -nonewline "spawn" + puts "spawn:" foreach k [array names env] { switch -glob $k { SECNET_STEST_DIVERT_* -