When check hits an eprintf() call, this is a "Check error printout".
This test case, only available when fork() is available, will
test the instances when check should hit an eprintf() and exit.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1016
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
{ "Msg and fork Tests", CK_FAILURE, "Expected fail" },
#endif /* HAVE_FORK */
+#if defined(HAVE_FORK) && HAVE_FORK==1
+#endif /* HAVE_FORK */
+
{ "Core", CK_PASS, "Passed" },
{ "Core", CK_FAILURE, "We failed" }
};
END_TEST
#endif /* HAVE_FORK */
+#if defined(HAVE_FORK) && HAVE_FORK == 1
+#endif /* HAVE_FORK */
+
START_TEST(test_srunner)
{
Suite *s;
"-1",
#endif /* HAVE_FORK */
+#if defined(HAVE_FORK) && HAVE_FORK==1
+/* Check Errors Tests */
+#endif /* HAVE_FORK */
+
/* Core */
"-1",
"-1"
TCase *tc_limit;
#if defined(HAVE_FORK) && HAVE_FORK==1
TCase *tc_messaging_and_fork;
+ TCase *tc_errors;
#endif
s = suite_create("Check Servant");
tc_limit = tcase_create("Limit Tests");
#if defined(HAVE_FORK) && HAVE_FORK==1
tc_messaging_and_fork = tcase_create("Msg and fork Tests");
+ tc_errors = tcase_create("Check Errors Tests");
#endif /* HAVE_FORK */
suite_add_tcase (s, tc_simple);