Commit 27f22fc8 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Added option "-f" (stay in foreground) to lyskomd. "-d" no longer

implies "stay in foreground".  Let the test suite check all output
from lyskomd.  Test suite cleanup.  Fixed a race condition in the test
suite (bug 692).  Fixed a false log message about a memory leak (half
of bug 816).  Clean up the output from lyskomd.
parent 032696bd
2002-10-23 Per Cederqvist <ceder@ceder.dyndns.org>
Added option "-f" (stay in foreground) to lyskomd. "-d" no longer
implies "stay in foreground".
* src/server/ramkomd.c (foreground): New static variable.
(go_daemon): Stay in foreground if given -f, not -d.
(initialize): Prompt the operator for confirmation when given -f,
not -d.
(main): Ditto. Handle -f: stay in foreground.
* doc/lyskomd.texi (Invoking lyskomd): Documented the new -f
option.
Let the test suite check all output from lyskomd.
* src/server/testsuite/config/unix.exp (maxint): Unused constant
removed.
(lyskomd_expect): New proc.
(spawn_lyskomd): Use -f, not -d.
(lyskomd_start): Check all output from lyskomd.
(lyskomd_fail_start): Ditto.
(lyskomd_death): New argument: reason. Check all output from
lyskomd.
(talk_to): Set current_talk_what and current_talk_nr, so that
lyskomd_expect can restore the old settings. Set proper
line_leader for lyskomd.
* src/server/testsuite/lyskomd.0/03.exp: Check all output from
lyskomd.
* src/server/testsuite/lyskomd.0/05.exp: Ditto.
* src/server/testsuite/lyskomd.0/06.exp: Ditto.
* src/server/testsuite/lyskomd.0/24.exp: Ditto.
* src/server/testsuite/lyskomd.0/25.exp: Ditto.
* src/server/testsuite/lyskomd.0/27.exp: Ditto.
* src/server/testsuite/lyskomd.0/admin-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/aux-items-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-349.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-37-2.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-37-3.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-37-4.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-37.exp: Ditto.
* src/server/testsuite/lyskomd.0/bug-612.exp: Ditto.
* src/server/testsuite/lyskomd.0/conf-file-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/conference-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/connections-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/gen-15.py: Ditto.
* src/server/testsuite/lyskomd.0/gen-19.py: Ditto.
* src/server/testsuite/lyskomd.0/membership-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/person-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/send-async-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/session-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/text-cov.exp: Ditto.
* src/server/testsuite/lyskomd.0/11.exp: Use the -f argument of
lyskomd, not -d. Pass the reason argument to lyskomd_death.
* src/server/testsuite/lyskomd.0/07.exp: Pass the reason argument
to lyskomd_death.
Test suite cleanup.
* src/server/testsuite/lyskomd.0/29.exp: Removed spurious newline
from the log file.
Fixed a race condition in the test suite. (Bug 692).
* src/server/testsuite/lyskomd.0/18.exp: Check all output from
lyskomd. Closes bug 692.
* src/server/ramkomd.c (sighandler_winch): Moved log message to
toploop().
* src/server/connections.c (toploop): Log a message when SIGWINCH
has been processed and the aux definitions reloaded.
Fixed a false log message about a memory leak. (Half of Bug 816).
* src/server/prot-a.c (prot_a_destruct): Set c_local_text_no_p to
NULL after freeing it, to avoid logging "kill_client(): unexpected
local_text_no remains." when a client disconnects while sending a
c_local_text_no_p array.
Clean up the output from lyskomd.
* src/server/conf-file.c (configure_line): Don't add blank lines
to the log.
* src/server/aux-items.c (aux_item_validate): Added a trailing dot
to a log message.
* src/server/aux-item-def-parse.y: Fixed typo in a log message.
2002-10-21 Per Cederqvist <ceder@ceder.dyndns.org> 2002-10-21 Per Cederqvist <ceder@ceder.dyndns.org>
Don't crash if a client sends the length of an aux-item list and Don't crash if a client sends the length of an aux-item list and
......
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