mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
posix/tst-wordexp-nocmd: Fix diagnostics output in test
This commit is contained in:
parent
3203690170
commit
25465ee037
@ -1,3 +1,7 @@
|
||||
2019-10-08 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* posix/tst-wordexp-nocmd.c (do_test): Fix diagnostics output.
|
||||
|
||||
2019-10-08 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
* posix/Makefile (tests): Add tst-wordexp-nocmd.
|
||||
|
@ -161,12 +161,12 @@ do_test (void)
|
||||
|
||||
#ifdef CLONE_NEWPID
|
||||
if (unshare (CLONE_NEWPID) != 0)
|
||||
printf ("warning: unshare (CLONE_NEW_PID) failed: %m\n"
|
||||
printf ("warning: unshare (CLONE_NEWPID) 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"
|
||||
printf ("warning: CLONE_NEWPID not available.\n"
|
||||
"warning: This leads to reduced test coverage.\n");
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user