Commit 64eba2b2 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

The test suite failed on really really slow computers. Stats

improvements.
parent a79b856d
2003-08-07 Per Cederqvist <ceder@ceder.dyndns.org>
The test suite failed on really really slow computers.
* src/server/testsuite/lyskomd.0/37.exp: Pass a $base_config to
lyskomd_start, since we don't want lyskomd_start to modifiy the
compiled-in default of "Sync interval".
* src/server/testsuite/config/unix.exp (lyskomd_start): Set the
"Sync interval" to 1 day, so that it doesn't interfere with the
tests. Added a colon to the strings that extra_config is checked
against, so that parameters that are prefixes of other parameters
are handled correctly.
Stats improvements.
* src/server/stats.c: The "updates" field now counts incremental
updates of avenrun.
(update_history): Adjusted.
(update_one_stat): Adjusted.
(check_one_stat): Adjusted.
Make it easier to change the file descriptor reserved for
valgrind. Don't use a file descriptor that interferes with the
test suite.
......
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