libqb/tests
Christine Caulfield aec4cde431 Fix check_ipc tests so they exit correctly
On some platforms the check_ipc test can fail due to SIGTERM
being delivered to to exiting server process. There is a race
condition between the server main loop quitting and the
signal being delivered.

This patch closes that race loophole in two places, firstly
it makes SIGTERM/SIGSTOP exit immediately rather than just signalling
the mainloop, secondly it calls exit() rather than return when the server
mainloop completes to that the client code does not start executing!

Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
2015-09-11 09:16:52 +01:00
..
.gitignore Deal better with corrupt blackbox files. 2013-04-02 13:52:57 +11:00
bench-log.c By default don't build in the slow benchlog 2011-11-25 11:12:27 +11:00
blackbox-segfault.sh Low: tests: Verify reading valid blackbox file works 2013-06-27 19:47:04 -05:00
bmc.c Deprecate qb_util_set_log_function() 2012-01-24 16:00:05 +11:00
bmcpt.c Remove uses of timersub and use qb_util_stopwatch 2012-08-28 22:05:09 +10:00
bms.c Prevent use after free in benchmark util 2013-07-22 16:05:21 -05:00
check_array.c Fix some issues found by clang 2012-02-03 14:37:37 +11:00
check_ipc.c Fix check_ipc tests so they exit correctly 2015-09-11 09:16:52 +01:00
check_log.c Low: add unit test for new extended information logging 2015-04-30 12:14:56 -04:00
check_loop.c TEST: add a test to check the order of the jobs 2012-03-09 19:33:35 +11:00
check_map.c ptrie: deref the current node in trie_iter_free() 2012-12-06 11:59:33 +11:00
check_rb.c Fix rb.test to avoid overwriting memory during reading. 2013-12-24 14:25:10 +00:00
check_util.c Add a split timer to the stopwatch. 2012-02-01 13:46:27 +11:00
crash_test_dummy.c Deal better with corrupt blackbox files. 2013-04-02 13:52:57 +11:00
file_change_bytes.c Low: tests: Fixes compile time issue with make check 2014-01-20 16:59:52 -06:00
format_compare_speed.c test: fix missing-format-attribute warning 2013-02-19 10:18:01 +11:00
loop.c Deprecate qb_util_set_log_function() 2012-01-24 16:00:05 +11:00
make-log-test.sh TEST: change the script to .sh and generated c file to auto_ 2012-01-16 22:18:39 +11:00
Makefile.am Fix "make srpm" 2013-04-10 16:17:38 +10:00
rbreader.c TEST: make rbreader/writer more like the other benchmarking apps 2012-05-21 08:30:22 +10:00
rbwriter.c Remove uses of timersub and use qb_util_stopwatch 2012-08-28 22:05:09 +10:00
resources.test TEST: Use /bin/sh not /bin/bash 2012-05-10 11:41:11 +10:00
test.conf.in Deal better with corrupt blackbox files. 2013-04-02 13:52:57 +11:00