mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
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:
parent
7ef1eccd7e
commit
7d82d6dc5b
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user