Test g_subprocess_launcher_spawn

The spawnv variant of this function already had a test, but
spawn was not tested.
This commit is contained in:
Matthias Clasen 2013-11-28 01:36:29 -05:00
parent 7ef1eccd7e
commit 7d82d6dc5b

View File

@ -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);