checkmk/test/tcase_implied_repeat/in
raw| 1 | /* Make sure we catch implied tcase repeats (via same name as suite) */ |
| 2 | |
| 3 | # suite Lady |
| 4 | |
| 5 | # tcase Luck |
| 6 | |
| 7 | # test song |
| 8 | fail_unless("be a lady tonight"); |
| 9 | |
| 10 | # suite Luck |
| 11 | |
| 12 | /* It's fine for a suite and tcase name to collide... |
| 13 | but the suite name implies a tcase name of the same value until we |
| 14 | override it. */ |
| 15 | |
| 16 | # test uh_oh |
| 17 | /* Uh-oh! Now we're using the implied tcase Luck, which already |
| 18 | * exists! */ |