]> 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)
commit760f57399e1d39467792f574efe71aa1d522d771
tree078beaeb014bf5b92804ee76ca55ae7f53b1728c
parentb7b29b52875fadbc7ea7c1fdb3af8ccc7bcd061c
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