7 const char *test_name = "multi-recurse";
10 main (int argc UNUSED, char *argv[])
12 int n = atoi (argv[1]);
23 snprintf (child_cmd, sizeof child_cmd, "multi-recurse %d", n - 1);
24 CHECK ((child_pid = exec (child_cmd)) != -1, "exec(\"%s\")", child_cmd);
26 code = wait (child_pid);
28 fail ("wait(exec(\"%s\")) returned %d", child_cmd, code);