Print PASS messages when complete.
[pintos-anon] / src / tests / threads / p1-3.c
index 2c3530d9a8817d42a1630a50a9d825452cea3f86..6c16023c61b9efa9eb03366b4cdb8b415190edee 100644 (file)
@@ -22,7 +22,7 @@ static void test_donate_return (void);
 void
 test (void) 
 {
-  /* Make sure our prority is the default. */
+  /* Make sure our priority is the default. */
   ASSERT (thread_get_priority () == PRI_DEFAULT);
 
   test_preempt ();
@@ -54,7 +54,7 @@ test_fifo (void)
           "If the order varies then there is a bug.\n");
 
   thread_set_priority (PRI_DEFAULT + 2);
-  for (i = 0; i < 5; i++) 
+  for (i = 0; i < 10; i++) 
     {
       char name[16];
       snprintf (name, sizeof name, "%d", i);