Debian Codegraph @

checkmk/test/not_really_repeated/in

raw
1 /* Test that repeated suites/tcases are only disallowed when they've
2 * actually been used in defining a test. */
3
4 # suite Foo
5
6 # tcase Bar
7
8 /* But no test... */
9
10 # suite Baz
11
12 # tcase Quux
13
14 # test quuux
15 const char msg[] = "Howdy doody!\n";
16 int nc = printf(msg);
17
18 fail_unless(nc == sizeof msg - 1);
19
20 # suite Foo
21
22 # tcase Bar
23
24 # test huh
25 fail_unless(ALLOWED_AFTER_ALL);