Temporary fix to make test_os_start_process pass again
authorLRN <lrn1986@gmail.com>
Thu, 14 Feb 2013 18:33:11 +0000 (18:33 +0000)
committerLRN <lrn1986@gmail.com>
Thu, 14 Feb 2013 18:33:11 +0000 (18:33 +0000)
src/util/test_os_start_process.c

index 599451898051c767088279eed78b17bfb862b179..fc548e8815098b572e8b8bfba794a73497cd7981 100644 (file)
@@ -201,7 +201,7 @@ check_kill ()
     return 1;
   }
   proc =
-    GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, fn,
+    GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, "gnunet-service-resolver",
                             "gnunet-service-resolver", "-", NULL); 
   sleep (1); /* give process time to start, so we actually use the pipe-kill mechanism! */
   GNUNET_free (fn);
@@ -236,7 +236,7 @@ check_instant_kill ()
     return 1;
   }
   proc =
-    GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, fn,
+    GNUNET_OS_start_process (GNUNET_YES, GNUNET_OS_INHERIT_STD_ERR, hello_pipe_stdin, hello_pipe_stdout, "gnunet-service-resolver",
                             "gnunet-service-resolver", "-", NULL); 
   if (0 != GNUNET_OS_process_kill (proc, SIGTERM))
   {