summaryrefslogtreecommitdiffstats
path: root/pintos-progos/tests/threads/priority-sema.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-sema.ck
downloadprogos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.gz
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.tar.bz2
progos-b5f0874cd96ee2a62aabc645b9626c2749cb6a01.zip
initial pintos checkin
Diffstat (limited to 'pintos-progos/tests/threads/priority-sema.ck')
-rw-r--r--pintos-progos/tests/threads/priority-sema.ck29
1 files changed, 29 insertions, 0 deletions
diff --git a/pintos-progos/tests/threads/priority-sema.ck b/pintos-progos/tests/threads/priority-sema.ck
new file mode 100644
index 0000000..559988d
--- /dev/null
+++ b/pintos-progos/tests/threads/priority-sema.ck
@@ -0,0 +1,29 @@
1# -*- perl -*-
2use strict;
3use warnings;
4use tests::tests;
5check_expected ([<<'EOF']);
6(priority-sema) begin
7(priority-sema) Thread priority 30 woke up.
8(priority-sema) Back in main thread.
9(priority-sema) Thread priority 29 woke up.
10(priority-sema) Back in main thread.
11(priority-sema) Thread priority 28 woke up.
12(priority-sema) Back in main thread.
13(priority-sema) Thread priority 27 woke up.
14(priority-sema) Back in main thread.
15(priority-sema) Thread priority 26 woke up.
16(priority-sema) Back in main thread.
17(priority-sema) Thread priority 25 woke up.
18(priority-sema) Back in main thread.
19(priority-sema) Thread priority 24 woke up.
20(priority-sema) Back in main thread.
21(priority-sema) Thread priority 23 woke up.
22(priority-sema) Back in main thread.
23(priority-sema) Thread priority 22 woke up.
24(priority-sema) Back in main thread.
25(priority-sema) Thread priority 21 woke up.
26(priority-sema) Back in main thread.
27(priority-sema) end
28EOF
29pass;