From d9cb092a885e3aae2307ce9f2101ca23438d432a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 12 Oct 2019 13:22:45 +0100 Subject: [PATCH 1/1] test: Consolidate program name in argl This avoids pratting about with the weird way execl takes its arguments. No functional change. Signed-off-by: Ian Jackson --- test/invoke | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/invoke b/test/invoke index 09b18a3..569e7c3 100755 --- a/test/invoke +++ b/test/invoke @@ -102,10 +102,10 @@ proc spawn-secnet {which} { set ch [open $cf w] puts $ch [mkconf $which] close $ch - set argl [list -dvnc $cf] + set argl [list ./secnet -dvnc $cf] set pid [fork] if {!$pid} { - execl ./secnet $argl + execl [lindex $argl 0] [lrange $argl 1 end] } puts -nonewline $netlinkfh($which.t) [hbytes h2raw c0] } -- 2.30.2