linux/tools/testing/selftests
Fuad Tabba b7168ec176 KVM: selftests: Fix kvm_check_cap() assertion
[ Upstream commit d8ac05ea13d789d5491a5920d70a05659015441d ]

KVM_CHECK_EXTENSION ioctl can return any negative value on error,
and not necessarily -1. Change the assertion to reflect that.

Signed-off-by: Fuad Tabba <tabba@google.com>
Message-Id: <20210615150443.1183365-1-tabba@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-30 08:47:49 -04:00
..
android
arm64
bpf tweewide: Fix most Shebang lines 2021-05-22 11:38:30 +02:00
breakpoints
capabilities
cgroup tools/testing/selftests/cgroup/cgroup_util.c: cg_read_strcmp: fix null pointer dereference 2020-08-26 10:40:57 +02:00
cpu-hotplug
cpufreq
drivers selftests: mlxsw: qos_mc_aware: Specify arping timeout as an integer 2020-06-07 13:18:52 +02:00
efivarfs
exec
filesystems
firmware
ftrace Revert "selftests/ftrace: check for do_sys_openat2 in user-memory test" 2020-12-21 13:27:06 +01:00
futex
gpio selftests/gpio: Fix build when source tree is read only 2021-06-03 08:59:03 +02:00
ia64
intel_pstate
ipc selftests/ipc: Fix test failure seen after initial test run 2020-05-10 10:31:23 +02:00
ir
kcmp
kexec
kmod selftests: kmod: fix handling test numbers above 9 2020-04-29 16:33:00 +02:00
kselftest tweewide: Fix most Shebang lines 2021-05-22 11:38:30 +02:00
kvm KVM: selftests: Fix kvm_check_cap() assertion 2021-06-30 08:47:49 -04:00
lib
livepatch
locking
media_tests
membarrier
memfd
memory-hotplug
mount
mqueue
net selftests: net: mirror_gre_vlan_bridge_1q: Make an FDB entry static 2021-05-14 09:44:32 +02:00
netfilter
networking/timestamping selftests: txtimestamp: fix compilation issue 2021-02-17 10:35:17 +01:00
nsfs
ntb NTB: ntb_test: Fix bug when counting remote files 2020-06-24 17:50:41 +02:00
pidfd selftests: pidfd: fix compilation errors due to wait.h 2020-11-18 19:20:22 +01:00
powerpc selftests/powerpc: Make the test check in eeh-basic.sh posix compliant 2021-03-04 10:26:26 +01:00
prctl
proc selftests: proc: fix warning: _GNU_SOURCE redefined 2020-11-18 19:20:25 +01:00
pstore
ptp
ptrace selftests/ptrace: add test cases for dead-locks 2020-10-01 13:17:48 +02:00
rcutorture
rseq
rtc
safesetid
seccomp selftests/seccomp: Update kernel config 2020-12-30 11:51:16 +01:00
sigaltstack
size
sparc64
splice
static_keys
sync
sysctl
tc-testing tweewide: Fix most Shebang lines 2021-05-22 11:38:30 +02:00
timers selftests/timers: Turn off timeout setting 2020-09-17 13:47:41 +02:00
tmpfs
tpm2 selftests: tpm: Use /bin/sh instead of /bin/bash 2020-07-09 09:37:51 +02:00
uevent
user
vDSO
vm selftests/vm: fix display of page size in map_hugetlb 2020-09-23 12:40:46 +02:00
watchdog
x86 selftests/x86/fsgsbase: Test PTRACE_PEEKUSER for GSBASE with invalid LDT GS 2020-11-05 11:43:23 +01:00
zram
.gitignore
gen_kselftest_tar.sh
kselftest_harness.h
kselftest_install.sh
kselftest_module.h
kselftest_module.sh
kselftest.h
lib.mk selftests: Set CC to clang in lib.mk if LLVM is set 2021-05-19 10:08:22 +02:00
Makefile