Fix two bugs in the base Pintos code:
[pintos-anon] / src / tests / threads / alarm-wait.c
index 458e987affa670f1088451dc4b0386f5145671f9..37d3afcea74243abcce4ccde4cb8a3590985c7c6 100644 (file)
@@ -57,7 +57,7 @@ test_sleep (int thread_cnt, int iterations)
   int i;
 
   /* This test does not work with the MLFQS. */
-  ASSERT (!enable_mlfqs);
+  ASSERT (!thread_mlfqs);
 
   msg ("Creating %d threads to sleep %d times each.", thread_cnt, iterations);
   msg ("Thread 0 sleeps 10 ticks each time,");