WSL2-Linux-Kernel/tools/testing/selftests
Zhao Gongyi f1c7a6af71 selftests/efivarfs: Add checking of the test return value
[ Upstream commit c93924267f ]

Add checking of the test return value, otherwise it will report success
forever for test_create_read().

Fixes: dff6d2ae56 ("selftests/efivarfs: clean up test files from test_create*()")
Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:14:02 +01:00
..
arm64 kselftest/arm64: Fix validatation termination record after EXTRA_CONTEXT 2022-10-26 12:35:44 +02:00
bpf selftests/bpf: Add verifier test for release_reference() 2022-12-02 17:41:01 +01:00
breakpoints
capabilities
cgroup kseltest/cgroup: Make test_stress.sh work if run interactively 2022-06-09 10:23:30 +02:00
clone3 selftests: fixup build warnings in pidfd / clone3 tests 2022-02-23 12:03:18 +01:00
core selftests/core: fix conflicting types compile error for close_range() 2021-11-18 19:16:21 +01:00
cpu-hotplug
cpufreq selftests/cpufreq: Rename DEBUG_PI_LIST to DEBUG_PLIST 2021-08-31 11:00:02 -06:00
damon selftests/damon: test debugfs file reads/writes with huge count 2021-12-22 09:32:51 +01:00
dma
dmabuf-heaps
drivers selftests: ocelot: tc_flower_chains: specify conform-exceed action for policer 2022-05-12 12:30:20 +02:00
efivarfs selftests/efivarfs: Add checking of the test return value 2022-12-31 13:14:02 +01:00
exec selftests/exec: Add non-regular to TEST_GEN_PROGS 2022-02-23 12:03:13 +01:00
filesystems
firmware
fpu
ftrace selftests/ftrace: event_triggers: wait longer for test_event_enable 2022-12-31 13:14:01 +01:00
futex selftests/futex: fix build for clang 2022-11-26 09:24:30 +01:00
gpio selftests: gpio: fix gpio compiling error 2021-11-25 09:48:34 +01:00
ia64
intel_pstate selftests/intel_pstate: fix build for ARCH=x86_64 2022-11-26 09:24:30 +01:00
ipc
ir
kcmp
kexec
kmod
kselftest
kvm KVM: selftests: Fix number of pages for memory slot in memslot_modification_stress_test 2022-11-03 23:59:15 +09:00
landlock landlock: Fix same-layer rule unions 2022-06-09 10:23:24 +02:00
lib
livepatch
lkdtm selftests/lkdtm: Add UBSAN config 2022-04-08 14:23:18 +02:00
locking
media_tests
membarrier
memfd selftests/memfd: clean up mapping in mfd_fail_write 2022-03-16 14:23:42 +01:00
memory-hotplug
mincore selftests: skip mincore.check_file_mmap when fs lacks needed support 2022-02-23 12:03:05 +01:00
mount
mount_setattr tests: fix idmapped mount_setattr test 2022-02-23 12:03:21 +01:00
move_mount_set_group
mqueue testing/selftests/mqueue: Fix mq_perf_tests to free the allocated cpu set 2022-04-20 09:34:12 +02:00
nci selftests: nci: replace unsigned int with int 2021-09-16 13:55:51 +01:00
net selftests: net: Use "grep -E" instead of "egrep" 2022-12-21 17:36:38 +01:00
netfilter testing: selftests: nft_flowtable.sh: use random netns names 2022-09-05 10:30:12 +02:00
nsfs
ntb
openat2 selftests: openat2: Skip testcases that fail with EOPNOTSUPP 2022-02-23 12:03:05 +01:00
perf_events
pid_namespace
pidfd selftests: fixup build warnings in pidfd / clone3 tests 2022-02-23 12:03:18 +01:00
powerpc selftests/powerpc: Add a test of sigreturning to the kernel 2022-01-27 11:05:03 +01:00
prctl
proc proc: fixup uptime selftest 2022-12-31 13:14:02 +01:00
pstore
ptp
ptrace
rcutorture torture: Make torture.sh help message match reality 2022-04-08 14:24:16 +02:00
resctrl selftests/resctrl: Fix null pointer dereference on open failed 2022-06-09 10:22:51 +02:00
rlimits
rseq selftests/rseq: Change type of rseq_offset to ptrdiff_t 2022-07-07 17:53:31 +02:00
rtc selftests: rtc: Increase test timeout so that all tests run 2022-02-23 12:03:04 +01:00
safesetid
sched kselftests/sched: cleanup the child processes 2021-11-18 19:16:14 +01:00
seccomp selftests/seccomp: Fix compile warning when CC=clang 2022-08-17 14:23:14 +02:00
sgx selftests/sgx: Treat CC as one argument 2022-04-08 14:23:06 +02:00
sigaltstack
size
sparc64
splice
static_keys
sync selftests/sync: Remove the deprecated config SYNC 2021-08-31 10:58:00 -06:00
syscall_user_dispatch
sysctl
tc-testing
timens
timers selftests: timers: clocksource-switch: fix passing errors from child 2022-08-17 14:23:30 +02:00
tmpfs
tpm2 selftest: tpm2: Add Client.__del__() to close /dev/tpm* handle 2022-10-26 12:35:29 +02:00
uevent
user
vDSO kselftest: Fix vdso_test_abi return status 2022-02-23 12:03:06 +01:00
vm Revert "selftest/vm: verify mmap addr in mremap_test" 2022-07-29 17:25:06 +02:00
watchdog
wireguard wireguard: device: reset peer src endpoint when netns exits 2021-12-08 09:04:46 +01:00
x86 selftests, x86: fix how check_cc.sh is being invoked 2022-04-08 14:23:11 +02:00
zram selftests/zram: Adapt the situation that /dev/zram0 is being used 2022-02-23 12:03:05 +01:00
.gitignore
Makefile selftests/damon: add damon to selftests root Makefile 2022-06-09 10:22:50 +02:00
gen_kselftest_tar.sh
kselftest.h
kselftest_deps.sh
kselftest_harness.h kselftest: signal all child processes 2022-02-23 12:03:04 +01:00
kselftest_install.sh
kselftest_module.h
lib.mk selftests: be sure to make khdr before other targets 2021-09-15 10:34:21 -06:00
run_kselftest.sh