diff options
author | Christian Brauner <christian@brauner.io> | 2019-07-23 10:08:28 +0200 |
---|---|---|
committer | Christian Brauner <christian@brauner.io> | 2019-07-29 17:17:27 +0200 |
commit | 3884ae44f41247e0ae41952d4fad46db86d2e0a8 (patch) | |
tree | e318f28042a032aeed2fbc6ef8007a3dd368a062 /tools | |
parent | 609488bc979f99f805f34e9a32c1e3b71179d10b (diff) | |
download | linux-3884ae44f41247e0ae41952d4fad46db86d2e0a8.tar.bz2 |
pidfd: remove obsolete comments from test
Since the introduction of CLONE_PIDFD pidfd_send_signal() is independent
of CONFIG_PROC_FS.
Signed-off-by: Christian Brauner <christian@brauner.io>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/testing/selftests/pidfd/pidfd_test.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tools/testing/selftests/pidfd/pidfd_test.c b/tools/testing/selftests/pidfd/pidfd_test.c index 7eaa8a3de262..b632965e60eb 100644 --- a/tools/testing/selftests/pidfd/pidfd_test.c +++ b/tools/testing/selftests/pidfd/pidfd_test.c @@ -339,13 +339,9 @@ static int test_pidfd_send_signal_syscall_support(void) ret = sys_pidfd_send_signal(pidfd, 0, NULL, 0); if (ret < 0) { - /* - * pidfd_send_signal() will currently return ENOSYS when - * CONFIG_PROC_FS is not set. - */ if (errno == ENOSYS) ksft_exit_skip( - "%s test: pidfd_send_signal() syscall not supported (Ensure that CONFIG_PROC_FS=y is set)\n", + "%s test: pidfd_send_signal() syscall not supported\n", test_name); ksft_exit_fail_msg("%s test: Failed to send signal\n", |