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/mlfqs-block.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/mlfqs-block.ck')
| -rw-r--r-- | tests/threads/mlfqs-block.ck | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/threads/mlfqs-block.ck b/tests/threads/mlfqs-block.ck new file mode 100644 index 0000000..8833a3a --- /dev/null +++ b/tests/threads/mlfqs-block.ck | |||
| @@ -0,0 +1,17 @@ | |||
| 1 | # -*- perl -*- | ||
| 2 | use strict; | ||
| 3 | use warnings; | ||
| 4 | use tests::tests; | ||
| 5 | check_expected ([<<'EOF']); | ||
| 6 | (mlfqs-block) begin | ||
| 7 | (mlfqs-block) Main thread acquiring lock. | ||
| 8 | (mlfqs-block) Main thread creating block thread, sleeping 25 seconds... | ||
| 9 | (mlfqs-block) Block thread spinning for 20 seconds... | ||
| 10 | (mlfqs-block) Block thread acquiring lock... | ||
| 11 | (mlfqs-block) Main thread spinning for 5 seconds... | ||
| 12 | (mlfqs-block) Main thread releasing lock. | ||
| 13 | (mlfqs-block) ...got it. | ||
| 14 | (mlfqs-block) Block thread should have already acquired lock. | ||
| 15 | (mlfqs-block) end | ||
| 16 | EOF | ||
| 17 | pass; | ||
