X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?a=blobdiff_plain;f=stest%2Fcommon.tcl;h=e9ca6583e56581e798248fe4aefe6db585e0bcb8;hb=c9063b891fe3f1edc9fe67bb123f100a221d7c4f;hp=064d8740fe245b9295e2688dfc618f641d448b6d;hpb=c51dedf733b465a6f68195ddd5965d1653c696c1;p=secnet.git diff --git a/stest/common.tcl b/stest/common.tcl index 064d874..e9ca658 100644 --- a/stest/common.tcl +++ b/stest/common.tcl @@ -111,6 +111,7 @@ proc spawn-secnet {location site} { global builddir global netlinkfh global env + global pidmap upvar #0 pids($site) pid set cf $tmp/$site.conf set ch [open $cf w] @@ -145,6 +146,7 @@ proc spawn-secnet {location site} { } if {[llength $argl]} { set pid [fork] + set pidmap($pid) "secnet $location/$site" if {!$pid} { execl [lindex $argl 0] [lrange $argl 1 end] }