haproxy/tests
Willy Tarreau fe94460d53 [BUG] fix calls to localtime()
localtime() was called with pointers to tv_sec, which is time_t on
some platforms and long on others. A problem was encountered on
Sparc64 under OpenBSD where tv_sec is long (64 bits) and time_t is
32 bits. Since this architecture is big-endian, it exhibited the
bug because localtime() always worked with the high part of the
value which is always zero. This problem was identified and debugged
by Thierry Fournier.

The correct solution is to pass the date by value and not by pointer,
through an intermediate function. The use of localtime_r() instead of
localtime() also made it possible to get rid of the first call to
localtime() since it does not need to allocate memory anymore.
2007-10-25 10:34:16 +02:00
..
active-sh.cfg * added the 'source' load-balancing algorithm which uses the source IP(v4|v6) 2006-03-25 20:33:17 +01:00
active-srv.cfg * some regression test files for active/backup conditions. 2006-03-25 20:33:14 +01:00
backup-all-sh.cfg * added the 'source' load-balancing algorithm which uses the source IP(v4|v6) 2006-03-25 20:33:17 +01:00
backup-all.cfg * some regression test files for active/backup conditions. 2006-03-25 20:33:14 +01:00
backup-first.cfg * some regression test files for active/backup conditions. 2006-03-25 20:33:14 +01:00
backup-second-sh.cfg * added the 'source' load-balancing algorithm which uses the source IP(v4|v6) 2006-03-25 20:33:17 +01:00
backup-second.cfg * some regression test files for active/backup conditions. 2006-03-25 20:33:14 +01:00
basic-test.cfg [TESTS] added two new test configurations 2006-07-29 16:47:12 +02:00
defaults.cfg * fixed odd addresses in tests/defaults.cfg 2006-01-08 01:51:58 +01:00
hash_results.txt [TESTS] updates to hash experimentations 2007-05-13 11:40:04 +02:00
httpterm-basic.cfg [TESTS] added two new test configurations 2006-07-29 16:47:12 +02:00
io_limits.txt [MEDIUM] optimize I/O by detecting system starvation 2007-06-03 16:05:39 +02:00
sessionhash_test.c [MAJOR] remove files distributed under an obscure license 2007-09-09 21:56:53 +02:00
sockstat.txt * released 1.1.22 2005-12-17 14:02:24 +01:00
test_hashes.c [TESTS] added a new hash algorithm 2007-09-09 21:13:47 +02:00
test_pools.c [TESTS] test_pools: added support for dlmalloc() 2007-05-12 16:14:55 +02:00
test-check-cpu.cfg [TESTS] provide a test configuration file for stats and checks 2007-09-09 21:09:28 +02:00
test-log.cfg [BUG] fix calls to localtime() 2007-10-25 10:34:16 +02:00
test-retries.cfg [TESTS] added a file to check that "retries" works. 2007-10-15 09:32:21 +02:00
test.c * initial commit of version 1.0.0 2005-12-17 12:21:26 +01:00
testinet.c * released 1.1.22 2005-12-17 14:02:24 +01:00
uri_hash.c [TESTS] updates to hash experimentations 2007-05-13 11:40:04 +02:00