Debian Codegraph @

checkmk/test/non_word_chars/x_output

raw
1 /*
2 * DO NOT EDIT THIS FILE. Generated by checkmk.
3 * Edit the original source file "in" instead.
4 */
5
6 #include <check.h>
7
8 #line 1 "in"
9 /* Non-word characters */
10
11 #include <stdio.h>
12
13
14
15 START_TEST(the_test)
16 {
17 #line 10
18 int nc;
19 const char msg[] = "\n\n Hello, world!\n";
20
21 nc = printf("%s", msg);
22 fail_unless(nc == (sizeof msg
23 - 1) /* for terminating NUL. */
24 );
25 }
26 END_TEST
27
28 int main(void)
29 {
30 Suite *s1 = suite_create("The Suite (of Test Cases/\\TCases)");
31 TCase *tc1_1 = tcase_create("The \"Test Case\"");
32 SRunner *sr = srunner_create(s1);
33 int nf;
34
35 suite_add_tcase(s1, tc1_1);
36 tcase_add_test(tc1_1, the_test);
37
38 srunner_run_all(sr, CK_ENV);
39 nf = srunner_ntests_failed(sr);
40 srunner_free(sr);
41
42 return nf == 0 ? 0 : 1;
43 }