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>
Sat, 7 Dec 2019 17:08:49 +0000 (17:08 +0000)
commit734678f8d758be490a51658118efba4088b95f87
tree0e4e46e56cbadc45f421dda5a3fb68626d05ec9b
parentfe48ba1a768271dcddaa3b38a280e588f4d504fe
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