Commit 51f45c93 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(lyskomd_start): Arrange to always test for eof from lyskomd in

	expect_after, and fail if it is detected.
parent da97e5a1
...@@ -322,9 +322,9 @@ proc lyskomd_start {{aux_item_conf_file ""} \ ...@@ -322,9 +322,9 @@ proc lyskomd_start {{aux_item_conf_file ""} \
set server_id $spawn_id set server_id $spawn_id
set expect_active($server_id) \ set expect_active($server_id) \
" -i $server_id eof { fail \"\$test (eof on lyskomd); wait\" }" " -i $server_id eof { fail \"\$test (eof on lyskomd)\"; wait }"
set expect_always($server_id) \ set expect_always($server_id) \
" -i $server_id buffer_full { fail \"\$test (buffer_full on lyskomd)\" }" " -i $server_id buffer_full { fail \"\$test (buffer_full on lyskomd)\" } -i $server_id eof { fail \"\$test (eof on lyskomd)\" }"
talk_to lyskomd talk_to lyskomd
set test "server started" set test "server started"
......
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