projects
/
pintos-anon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add file system persistence tests:
[pintos-anon]
/
src
/
tests
/
threads
/
mlfqs-load-60.ck
diff --git
a/src/tests/threads/mlfqs-load-60.ck
b/src/tests/threads/mlfqs-load-60.ck
index 18806e4faefb6909268cd0db69d204074c4790c8..cb69220024ef7973a3218623a372f2e1ab3477e9 100644
(file)
--- a/
src/tests/threads/mlfqs-load-60.ck
+++ b/
src/tests/threads/mlfqs-load-60.ck
@@
-7,8
+7,8
@@
use tests::threads::mlfqs;
our ($test);
my (@output) = read_text_file ("$test.output");
our ($test);
my (@output) = read_text_file ("$test.output");
-common_checks (@output);
-@output = get_core_output (@output);
+common_checks (
"run",
@output);
+@output = get_core_output (
"run",
@output);
# Get actual values.
local ($_);
# Get actual values.
local ($_);
@@
-29,8
+29,8
@@
for (my ($t) = 0; $t < 180; $t++) {
$expected[$t] = $load_avg;
}
$expected[$t] = $load_avg;
}
-mlfqs_compare ("time", "%.2f", \@actual, \@expected,
2
.5, [2, 178, 2],
+mlfqs_compare ("time", "%.2f", \@actual, \@expected,
3
.5, [2, 178, 2],
"Some load average values were missing or "
. "differed from those expected "
"Some load average values were missing or "
. "differed from those expected "
- . "by more than
2
.5.");
+ . "by more than
3
.5.");
pass;
pass;