From: brarcher Date: Sun, 22 Sep 2013 21:27:47 +0000 (+0000) Subject: check_check: do setup regardless of availability of fork X-Git-Tag: 0.10.0~441 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32319b45a7217efd3754ca15863cb5f4ee53c8b7;p=check check_check: do setup regardless of availability of fork The tests originally protected by the HAVE_FORK check will work if fork is unavailable. Further, setup() does work that is required by the tests which follow. git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@773 64e312b2-a51f-0410-8e61-82d0ca0eb02a --- diff --git a/tests/check_check_main.c b/tests/check_check_main.c index db99fdc..7e858fc 100644 --- a/tests/check_check_main.c +++ b/tests/check_check_main.c @@ -10,11 +10,9 @@ int main (void) int n; SRunner *sr; -#ifdef HAVE_FORK fork_setup(); setup_fixture(); setup(); -#endif /* HAVE_FORK */ sr = srunner_create (make_master_suite()); srunner_add_suite(sr, make_list_suite());