diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-10-08 18:55:48 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-10-08 18:55:48 +0200 |
commit | 25465ee0370096a138e670e7fad26d5de8926ffb (patch) | |
tree | de191713cb7383635ec8d81a338e33671dfe20e0 | |
parent | 32036901707cc86e16b8d9f65bb4686a9bbb0a5c (diff) | |
download | glibc-25465ee0370096a138e670e7fad26d5de8926ffb.tar.gz |
posix/tst-wordexp-nocmd: Fix diagnostics output in test
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | posix/tst-wordexp-nocmd.c | 4 |
2 files changed, 6 insertions, 2 deletions
@@ -1,5 +1,9 @@ 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. * posix/wordexp-test.c (__app_register_atfork): Remove function. (registered_forks): Remove variable. diff --git a/posix/tst-wordexp-nocmd.c b/posix/tst-wordexp-nocmd.c index b2f64c819f..cb6033e15f 100644 --- a/posix/tst-wordexp-nocmd.c +++ b/posix/tst-wordexp-nocmd.c @@ -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 |