summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/threads/priority-donate-lower.ck
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
committermanuel <manuel@mausz.at>2012-03-26 12:54:45 +0200
commitb5f0874cd96ee2a62aabc645b9626c2749cb6a01 (patch)
tree1262e4bbe0634de6650be130c36e0538240f4cbf /pintos-progos/tests/threads/priority-donate-lower.ck
downloadprogos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip
initial pintos checkin
Diffstat (limited to 'pintos-progos/tests/threads/priority-donate-lower.ck')
-rw-r--r--pintos-progos/tests/threads/priority-donate-lower.ck16
1 files changed, 16 insertions, 0 deletions
diff --git a/pintos-progos/tests/threads/priority-donate-lower.ck b/pintos-progos/tests/threads/priority-donate-lower.ck
new file mode 100644
index 0000000..c9bb61b
--- /dev/null
+++ b/pintos-progos/tests/threads/priority-donate-lower.ck
@@ -0,0 +1,16 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_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
15EOF
16pass;