diff options
Diffstat (limited to 'tests/threads/priority-change.ck')
| -rw-r--r-- | tests/threads/priority-change.ck | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/threads/priority-change.ck b/tests/threads/priority-change.ck new file mode 100644 index 0000000..f4d9b2f --- /dev/null +++ b/tests/threads/priority-change.ck | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | check_expected ([<<'EOF']); | ||
| 6 | (priority-change) begin | ||
| 7 | (priority-change) Creating a high-priority thread 2. | ||
| 8 | (priority-change) Thread 2 now lowering priority. | ||
| 9 | (priority-change) Thread 2 should have just lowered its priority. | ||
| 10 | (priority-change) Thread 2 exiting. | ||
| 11 | (priority-change) Thread 2 should have just exited. | ||
| 12 | (priority-change) end | ||
| 13 | EOF | ||
| 14 | pass; | ||
