chiark
/
gitweb
/
~ian
/
cgi-auth-flexible.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9f2017a
)
Testing: autotest: Introduce dospawn
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Wed, 28 Oct 2015 16:48:37 +0000
(16:48 +0000)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Wed, 28 Oct 2015 16:48:37 +0000
(16:48 +0000)
No functional change.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
tests/autotest
patch
|
blob
|
history
diff --git
a/tests/autotest
b/tests/autotest
index 40d6a5728a1182b53469f07d7b8cb2c823130733..fd3b73266f91f26f5a2894c69ad1cb3ca089aa77 100755
(executable)
--- 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"