WiP
[oweals/gnunet.git] / src / monkey / test_gnunet_monkey.c
index 9fa56f50875af48db804e2cee3fc8adcc472143e..d1d4155d05616f2266e291c4c0b01ca1c1db1053 100644 (file)
 static int
 check ()
 {
-    GNUNET_OS_start_process (NULL, NULL, "gnunet-monkey",
-                                            "gnunet-monkey",
-                                            "./bug_null_pointer_exception", NULL);
+    GNUNET_OS_process_close (GNUNET_OS_start_process (NULL, NULL,
+                                                     "gnunet-monkey",
+                                                     "gnunet-monkey",
+                                               "./bug_null_pointer_exception",
+                                                      NULL));
+    
        return 0;
 }
 
@@ -64,4 +67,6 @@ main (int argc, char *argv[])
   ret = check ();
   return ret;
 }
-/* end of test_gnunet_monkey.c */
\ No newline at end of file
+
+/* end of test_gnunet_monkey.c */
+