projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ef1ecc
)
Test g_subprocess_launcher_spawn
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 28 Nov 2013 06:36:29 +0000
(
01:36
-0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 28 Nov 2013 06:36:29 +0000
(
01:36
-0500)
The spawnv variant of this function already had a test, but
spawn was not tested.
gio/tests/gsubprocess.c
patch
|
blob
|
history
diff --git
a/gio/tests/gsubprocess.c
b/gio/tests/gsubprocess.c
index
3dcabc6
..
73fa715
100644
(file)
--- 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_spawn
v (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);