test_priority_preempt (void)
{
/* This test does not work with the MLFQS. */
- ASSERT (!enable_mlfqs);
+ ASSERT (!thread_mlfqs);
/* Make sure our priority is the default. */
ASSERT (thread_get_priority () == PRI_DEFAULT);
- thread_create ("high-priority", PRI_DEFAULT - 1, simple_thread_func, NULL);
+ thread_create ("high-priority", PRI_DEFAULT + 1, simple_thread_func, NULL);
msg ("The high-priority thread should have already completed.");
}