| 1 |
# From a bungled core thread test. |
| 2 |
# |
| 3 |
# The important thing here is that the last test is the right test. |
| 4 |
# Test::Harness would misparse this as being a valid test. |
| 5 |
print <<DUMMY; |
| 6 |
ok 2 - Test that argument passing works |
| 7 |
ok 3 - Test that passing arguments as references work |
| 8 |
ok 4 - Test a normal sub |
| 9 |
ok 6 - Detach test |
| 10 |
ok 8 - Nested thread test |
| 11 |
ok 9 - Nested thread test |
| 12 |
ok 10 - Wanted 7, got 7 |
| 13 |
ok 11 - Wanted 7, got 7 |
| 14 |
ok 12 - Wanted 8, got 8 |
| 15 |
ok 13 - Wanted 8, got 8 |
| 16 |
1..15 |
| 17 |
ok 1 |
| 18 |
ok 5 - Check that Config::threads is true |
| 19 |
ok 7 - Detach test |
| 20 |
ok 14 - Check so that tid for threads work for main thread |
| 21 |
ok 15 - Check so that tid for threads work for main thread |
| 22 |
DUMMY |