From: Ian Jackson Date: Wed, 28 Oct 2015 16:48:37 +0000 (+0000) Subject: Testing: autotest: Introduce dospawn X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=cgi-auth-flexible.git;a=commitdiff_plain;h=83bf7d30c6ae241d0fed3136da602ef27e5cad73 Testing: autotest: Introduce dospawn No functional change. Signed-off-by: Ian Jackson --- diff --git a/tests/autotest b/tests/autotest index 40d6a57..fd3b732 100755 --- a/tests/autotest +++ b/tests/autotest @@ -14,8 +14,14 @@ set env(TERM) vt100 log_user 0 log_file -a $tt/expect.log -spawn -nottycopy \ -w3m -config /dev/null -o cgi_bin=$pwd/tests file:///cgi-bin/wrap/Tsuffix +proc dospawn {} { + global pwd spawn_id + + spawn -nottycopy \ + w3m -config /dev/null -o cgi_bin=$pwd/tests file:///cgi-bin/wrap/Tsuffix +} + +dospawn proc timeout-abort {} { send_log "\r\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"