Merge tag 'core-process-v5.4' of git://git.kernel.org/pub/scm/linux/kernel/git/braune...
[linux-2.6-block.git] / tools / testing / selftests / pidfd / pidfd_test.c
index 42e3eb494d7221a4b5009871d292ff146413e31d..7aff2d3b42c078217e4f85b392645a308237fb9b 100644 (file)
@@ -325,13 +325,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",