| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- /*
- * DO NOT EDIT THIS FILE. Generated by checkmk.
- * Edit the original source file "in" instead.
- */
- #include <check.h>
- #line 1 "in"
- /* A complete test example */
- #include <stdio.h>
- START_TEST(the_\u4ECA\u65E5\u306F_test)
- {
- #line 10
- int nc;
- const char msg[] = "\n\n Hello, world!\n";
- nc = printf("%s", msg);
- fail_unless(nc == (sizeof msg
- - 1) /* for terminating NUL. */
- );
- }
- END_TEST
- int main(void)
- {
- Suite *s1 = suite_create("The Suite");
- TCase *tc1_1 = tcase_create("The Test Case");
- SRunner *sr = srunner_create(s1);
- int nf;
- suite_add_tcase(s1, tc1_1);
- tcase_add_test(tc1_1, the_\u4ECA\u65E5\u306F_test);
- srunner_run_all(sr, CK_ENV);
- nf = srunner_ntests_failed(sr);
- srunner_free(sr);
- return nf == 0 ? 0 : 1;
- }
|