[PATCH] wordexp: Split out command execution tests from posix/wordexp-test

Joseph Myers joseph@codesourcery.com
Tue Oct 8 15:58:00 GMT 2019


On Tue, 8 Oct 2019, Florian Weimer wrote:

> +#ifdef CLONE_NEWPID
> +  if (unshare (CLONE_NEWPID) != 0)
> +    printf ("warning: unshare (CLONE_NEW_PID) failed: %m\n"
> +            "warning: This leads to reduced test coverage.\n");
> +  else
> +    pid_tests_supported = true;
> +#else
> +  printf ("warning: CLONE_NEW_PID not available.\n"

The messages are saying CLONE_NEW_PID when the actual code is using 
CLONE_NEWPID.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list