Commit fe3d09bc authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(kill_client): Fixed broken logic that caused the "looking for stray

	output" never to emit a pass message.  Look for eof on the client.
parent f7f2a0c5
......@@ -1086,7 +1086,7 @@ proc kill_client {nr} {
set timeout 0
talk_to client $nr
set test "looking for stray output before killing client $nr"
set ok 0
set ok 1
expect {
-re "^${line_leader}($any*)$nl" {
fail "$test (got $expect_out(1,string))"
......@@ -1108,6 +1108,9 @@ proc kill_client {nr} {
pass "$test"
}
}
eof {
fail "$test (eof on client)"
}
}
unset test
set timeout $old_timeout
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment