From: Matthias Clasen Date: Thu, 28 Nov 2013 06:36:29 +0000 (-0500) Subject: Test g_subprocess_launcher_spawn X-Git-Tag: 2.39.2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d82d6dc5b7de75672d4875b2a897b9a29836f32;p=platform%2Fupstream%2Fglib.git Test g_subprocess_launcher_spawn The spawnv variant of this function already had a test, but spawn was not tested. --- diff --git a/gio/tests/gsubprocess.c b/gio/tests/gsubprocess.c index 3dcabc6..73fa715 100644 --- a/gio/tests/gsubprocess.c +++ b/gio/tests/gsubprocess.c @@ -779,7 +779,7 @@ test_env (void) g_assert_null (g_subprocess_launcher_getenv (launcher, "FOUR")); - proc = g_subprocess_launcher_spawnv (launcher, (const gchar * const *) args->pdata, error); + proc = g_subprocess_launcher_spawn (launcher, error, args->pdata[0], "env", NULL); g_ptr_array_free (args, TRUE); g_assert_no_error (local_error);