]> granicus.if.org Git - check/commit
Always check HAVE_FORK==1 if defined
authorbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:43:05 +0000 (02:43 +0000)
committerbrarcher <brarcher@64e312b2-a51f-0410-8e61-82d0ca0eb02a>
Thu, 2 Jan 2014 02:43:05 +0000 (02:43 +0000)
commitb78d5c247a7cd287ea77427416c12a005ced5221
treed956d226886378d9bf25e97c61aa59ef78dfebaf
parentb10f91f0e5dfac5d7138e32cadca961834bb7a1f
Always check HAVE_FORK==1 if defined

For autotools this is not an issue, as HAVE_FORK is only
defined if fork is available, and thus HAVE_FORK==1.

Cmake, though, will define it either way, so it is possible
for HAVE_FORK==0. Most of these were caught earlier, but
a few were missed.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@997 64e312b2-a51f-0410-8e61-82d0ca0eb02a
tests/check_check_fixture.c
tests/check_check_fork.c
tests/check_check_main.c
tests/check_mem_leaks.c