build: Add missing "static" keyword where it should be used
[platform/upstream/glib.git] / tests / child-test.c
index b678572..2fbc741 100644 (file)
@@ -163,10 +163,7 @@ main (int argc, char *argv[])
       exit (STILL_ACTIVE);
     }
 #endif
-  /* Only run the test, if threads are enabled and a default thread
-   * implementation is available.
-   */
-#if defined(G_THREADS_ENABLED) && ! defined(G_THREADS_IMPL_NONE)
+
 #ifdef TEST_THREAD
   g_thread_init (NULL);
 #endif
@@ -175,7 +172,7 @@ main (int argc, char *argv[])
 #ifdef G_OS_WIN32
   system ("ipconfig /all");
 #else
-  system ("/bin/true");
+  system ("true");
 #endif
 
   alive = 2;
@@ -201,6 +198,5 @@ main (int argc, char *argv[])
       return 1;
     }
     
-#endif
    return 0;
 }