diff --git a/gio/tests/gsubprocess-testprog.c b/gio/tests/gsubprocess-testprog.c index 417c0289c..05fc526f3 100644 --- a/gio/tests/gsubprocess-testprog.c +++ b/gio/tests/gsubprocess-testprog.c @@ -275,7 +275,7 @@ sleep_and_kill (int argc, char **argv) /* Run sleep "forever" in a shell; this will trigger PTRACE_EVENT_EXEC */ g_ptr_array_add (args, g_strdup ("sh")); g_ptr_array_add (args, g_strdup ("-c")); - g_ptr_array_add (args, g_strdup ("sleep infinity")); + g_ptr_array_add (args, g_strdup ("exec sleep infinity")); g_ptr_array_add (args, NULL); launcher = g_subprocess_launcher_new (G_SUBPROCESS_FLAGS_NONE); proc = g_subprocess_launcher_spawnv (launcher, (const gchar **) args->pdata, &local_error);