From c9063b891fe3f1edc9fe67bb123f100a221d7c4f Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 25 Nov 2019 00:00:30 +0000 Subject: [PATCH 1/1] stest: Record the pids of of the secnets we spawn Nothing uses this yet. Signed-off-by: Ian Jackson --- stest/common.tcl | 2 ++ 1 file changed, 2 insertions(+) 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] } -- 2.30.2