linux-stable/tools
Tommi Rantala 0b18fed98b selftests: pidfd: use ksft_test_result_skip() when skipping test
There's planned tests != run tests in pidfd_test when some test is
skipped:

  $ ./pidfd_test
  TAP version 13
  1..8
  [...]
  # pidfd_send_signal signal recycled pid test: Skipping test
  # Planned tests != run tests (8 != 7)
  # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:0 error:0

Fix by using ksft_test_result_skip():

  $ ./pidfd_test
  TAP version 13
  1..8
  [...]
  ok 8 # SKIP pidfd_send_signal signal recycled pid test: Unsharing pid namespace not permitted
  # Totals: pass:7 fail:0 xfail:0 xpass:0 skip:1 error:0

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>
2020-10-27 17:01:24 -06:00
..
accounting
arch parisc: Add MAP_UNINITIALIZED define 2020-10-15 08:10:39 +02:00
bootconfig Updates for tracing and bootconfig: 2020-10-15 15:51:28 -07:00
bpf Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2020-10-05 18:40:01 -07:00
build perf tools changes for v5.10: 1st batch 2020-10-17 11:47:46 -07:00
cgroup
debugging
edid
firewire
firmware
gpio tools: gpio: add debounce support to gpio-event-mon 2020-09-30 10:57:30 +02:00
hv
iio
include treewide: Convert macro and uses of __section(foo) to __section("foo") 2020-10-25 14:51:49 -07:00
io_uring tools/io_uring: fix compile breakage 2020-09-21 07:50:58 -06:00
kvm/kvm_stat
laptop
leds
lib Fixes for 5.10-rc1 from the networking tree: 2020-10-23 12:05:49 -07:00
memory-model
objtool objtool changes for v5.10: 2020-10-14 10:13:37 -07:00
pci
pcmcia
perf perf tools changes for v5.10: 1st batch 2020-10-17 11:47:46 -07:00
power More power management updates for 5.10-rc1 2020-10-23 16:27:03 -07:00
scripts
spi
testing selftests: pidfd: use ksft_test_result_skip() when skipping test 2020-10-27 17:01:24 -06:00
thermal/tmon
time
usb
virtio
vm
wmi
Makefile