From 7d82d6dc5b7de75672d4875b2a897b9a29836f32 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 28 Nov 2013 01:36:29 -0500 Subject: [PATCH] Test g_subprocess_launcher_spawn The spawnv variant of this function already had a test, but spawn was not tested. --- gio/tests/gsubprocess.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.7.4