]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: pidfd: skip test on kcmp() ENOSYS
authorTommi Rantala <tommi.t.rantala@nokia.com>
Thu, 8 Oct 2020 12:26:26 +0000 (15:26 +0300)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 27 Oct 2020 23:01:45 +0000 (17:01 -0600)
commitb2672f773aa371a434d2cc35c88c31dc522f179a
tree078beaeb014bf5b92804ee76ca55ae7f53b1728c
parent3f8b810db2d3f9c0f04ed3af271a9c583cb281fd
selftests: pidfd: skip test on kcmp() ENOSYS

Skip test if kcmp() is not available, for example if kernel is compiled
without CONFIG_CHECKPOINT_RESTORE=y.

Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/pidfd/pidfd_getfd_test.c