linux-stable/tools/testing/selftests
Shuah Khan (Samsung OSG) 7357dcf2ef selftests: filesystems: return Kselftest Skip code for skipped tests
When devpts_pts test is skipped because of unmet dependencies and/or
unsupported configuration, it exits with error which is treated as
a fail by the Kselftest framework. This leads to false negative
result even when the test could not be run.

In another case, it returns pass for a skipped test reporting a false
postive.

Change it to return kselftest skip code when a test gets skipped to
clearly report that the test could not be run.

Change it to use ksft_exit_skip() when test is skipped.

Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
2018-05-30 15:21:52 -06:00
..
android selftests: android: ion: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
bpf selftests: bpf: config: enable NET_SCH_INGRESS for xdp_meta.sh 2018-05-18 21:39:39 +02:00
breakpoints selftests: breakpoints: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
capabilities
cpu-hotplug selftests: cpu-hotplug: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
cpufreq selftests: cpufreq: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
drivers/gpu
efivarfs selftests: efivarfs: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
exec selftests: exec: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
filesystems selftests: filesystems: return Kselftest Skip code for skipped tests 2018-05-30 15:21:52 -06:00
firmware selftests:firmware: fixes a call to a wrong function name 2018-04-25 17:27:09 +02:00
ftrace selftests: ftrace: Add a testcase for multiple actions on trigger 2018-04-25 10:28:36 -04:00
futex selftests: futex: delete RUN_TESTS and EMIT_TESTS overrides 2018-05-30 15:21:52 -06:00
gpio
ia64
intel_pstate selftests/intel_pstate: Fix build rule for x86 2018-04-02 11:55:47 -06:00
ipc
kcmp
kmod
kvm selftests: kvm: update .gitignore with missing file 2018-05-30 15:21:51 -06:00
lib
locking
media_tests selftests: media_tests: fix spelling mistake: "iternations" -> "iterations" 2018-05-30 15:21:51 -06:00
membarrier membarrier/selftest: Test private expedited sync core command 2018-02-05 21:35:38 +01:00
memfd Merge tag 'linux-kselftest-4.16-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest 2018-02-28 13:38:52 -08:00
memory-hotplug selftests: memory-hotplug: delete RUN_TESTS and EMIT_TESTS overrides 2018-05-30 15:21:52 -06:00
mount selftests: mount: delete RUN_TESTS and EMIT_TESTS overrides 2018-05-30 15:21:52 -06:00
mqueue selftests: mqueue: delete RUN_TESTS and EMIT_TESTS overrides 2018-05-30 15:21:52 -06:00
net Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf 2018-05-25 15:37:41 -04:00
networking/timestamping selftests/txtimestamp: Add more configurable parameters 2018-03-16 15:05:57 -04:00
nsfs tools/testing: Fix trailing semicolon 2018-01-12 11:41:33 -07:00
ntb NTB: ntb_test: Update ntb_perf tests 2018-01-28 22:17:24 -05:00
powerpc selftests/powerpc: Fix copyloops build since Power4 assembler change 2018-04-03 21:50:09 +10:00
prctl
proc proc: fixup copyright sign 2018-04-12 20:52:25 -07:00
pstore selftests: pstore: Adding config fragment CONFIG_PSTORE_RAM=m 2018-02-13 14:09:17 -07:00
ptp
ptrace
rcutorture Merge branches 'fixes.2018.02.23a', 'srcu.2018.02.20a' and 'torture.2018.02.20a' into HEAD 2018-02-23 15:15:41 -08:00
rtc selftests: rtc: rework rtctest 2018-05-30 15:21:51 -06:00
seccomp seccomp: Add filter flag to opt-out of SSB mitigation 2018-05-05 00:51:44 +02:00
sigaltstack
size
splice
static_keys
sync selftests: sync: missing CFLAGS while compiling 2018-02-13 11:34:51 -07:00
sysctl
tc-testing tc-testing: fix tdc tests for 'bpf' action 2018-05-10 17:28:02 -04:00
timers selftests: move RTC tests to rtc subfolder 2018-05-30 15:21:51 -06:00
user
vDSO selftest/vDSO: fix O= 2018-02-13 11:35:01 -07:00
vm selftests/vm/run_vmtests: adjust hugetlb size according to nr_cpus 2018-03-09 16:40:01 -08:00
watchdog
x86 selftests/x86: Detect -no-pie availability 2018-05-30 15:21:51 -06:00
zram
.gitignore
gen_kselftest_tar.sh selftests: gen_kselftest_tar.h: Add SPDX license identifier 2018-01-12 11:44:31 -07:00
kselftest.h selftests: kselftest: change KSFT_SKIP=4 instead of KSFT_PASS 2018-05-30 15:21:52 -06:00
kselftest_harness.h selftests/seccomp: Allow get_metadata to XFAIL 2018-03-21 10:42:46 -06:00
kselftest_install.sh selftests: kselftest_install.sh: Add SPDX license identifier 2018-01-12 11:45:05 -07:00
lib.mk selftests: lib.mk: add test execute bit check to EMIT_TESTS 2018-05-30 15:21:52 -06:00
Makefile selftests: lib.mk: add SKIP handling and test suite name to EMIT_TESTS 2018-05-30 15:21:52 -06:00