diff options
| author | manuel <manuel@mausz.at> | 2012-03-27 11:51:08 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2012-03-27 11:51:08 +0200 |
| commit | 4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b (patch) | |
| tree | 868c52e06f207b5ec8a3cc141f4b8b2bdfcc165c /tests/threads/priority-donate-lower.ck | |
| parent | eae0bd57f0a26314a94785061888d193d186944a (diff) | |
| download | progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.gz progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.tar.bz2 progos-4f670845ff9ab6c48bcb5f7bf4d4ef6dc3c3064b.zip | |
reorganize file structure to match the upstream requirements
Diffstat (limited to 'tests/threads/priority-donate-lower.ck')
| -rw-r--r-- | tests/threads/priority-donate-lower.ck | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/threads/priority-donate-lower.ck b/tests/threads/priority-donate-lower.ck new file mode 100644 index 0000000..c9bb61b --- /dev/null +++ b/tests/threads/priority-donate-lower.ck | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | check_expected ([<<'EOF']); | ||
| 6 | (priority-donate-lower) begin | ||
| 7 | (priority-donate-lower) Main thread should have priority 41. Actual priority: 41. | ||
| 8 | (priority-donate-lower) Lowering base priority... | ||
| 9 | (priority-donate-lower) Main thread should have priority 41. Actual priority: 41. | ||
| 10 | (priority-donate-lower) acquire: got the lock | ||
| 11 | (priority-donate-lower) acquire: done | ||
| 12 | (priority-donate-lower) acquire must already have finished. | ||
| 13 | (priority-donate-lower) Main thread should have priority 21. Actual priority: 21. | ||
| 14 | (priority-donate-lower) end | ||
| 15 | EOF | ||
| 16 | pass; | ||
