Add file system persistence tests:
[pintos-anon] / src / tests / threads / mlfqs-block.ck
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;