X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Ftests%2Fthreads%2Fmlfqs-load-60.ck;h=cb69220024ef7973a3218623a372f2e1ab3477e9;hb=b3563c2ef34e52288c8cf7a68db0f7ae3b2f9b69;hp=18806e4faefb6909268cd0db69d204074c4790c8;hpb=4ebf33908a571a7cde93fe618902b044e3633cdf;p=pintos-anon diff --git a/src/tests/threads/mlfqs-load-60.ck b/src/tests/threads/mlfqs-load-60.ck index 18806e4..cb69220 100644 --- 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"); -common_checks (@output); -@output = get_core_output (@output); +common_checks ("run", @output); +@output = get_core_output ("run", @output); # Get actual values. local ($_); @@ -29,8 +29,8 @@ for (my ($t) = 0; $t < 180; $t++) { $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 " - . "by more than 2.5."); + . "by more than 3.5."); pass;