14 if (!g_spawn_command_line_sync ("ls", &out, &err, &status, &error))
15 return FAILED ("Error executing 'ls'");
18 return FAILED ("Status is %d", status);
20 if (out == NULL || strlen (out) == 0)
21 return FAILED ("Didn't get any output from ls!?");
28 static Test spawn_tests [] = {
29 {"g_shell_spawn_sync", test_spawn_sync},
33 DEFINE_TEST_GROUP_INIT(spawn_tests_init, spawn_tests)