chiark / gitweb /
stest: Support not running secnet ourselves
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 23 Nov 2019 00:38:01 +0000 (00:38 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 30 Dec 2019 13:15:49 +0000 (13:15 +0000)
commit820fe96b181d1f552475b5b7e15673299612f4ce
tree66600d59eab697bc84c747aaa0e3f4a271276e64
parentdbffe8d8186f2be1c02605aa871cf1e3263a4fd7
stest: Support not running secnet ourselves

Now the user can set SECNET_STEST_DIVERT_inside=1 (say) and instead of
actually running secnet, we print the rune we would run and ask the
user when they have started it.

A freshly started secnet (with this config, at least) just sits there
waiting for its first packet to deal with.  So if the user does this
for the 2nd secnet, that's fine - the first one will happily wait
until the test actually gets going.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
stest/common.tcl