Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
bbf6a23e
Commit
bbf6a23e
authored
Jul 26, 1998
by
Per Cederqvist
Browse files
(l2g_stop): Added a wait statement to avoid creating zombies.
(simple_expect): Added a missing space in a prompt regexp.
parent
7a27ce1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/testsuite/config/unix.exp
View file @
bbf6a23e
...
...
@@ -14,7 +14,10 @@ proc l2g_start {} {
proc l2g_stop {} {
global spawn_id
# FIXME: send explicit quit command and check that there is no
# trailing unexpected output before the "ok, I die" response.
close
wait
}
proc l2g_send {str} {
...
...
@@ -40,7 +43,7 @@ proc simple_expect {regex {testname ""}} {
-re "($any*)$nl" {
fail "$test (unexpected line '$expect_out(1,string)' waiting for '$regex')"
}
-re "($any*)l2g>" {
-re "($any*)l2g>
" {
fail "$test (unexpected incomplete line '$expect_out(1,string)' waiting for '$regex')"
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment