mirror_ubuntu-kernels/tools/testing/selftests/kvm/lib
Yanan Wang c412d6ac28 KVM: selftests: Print the errno besides error-string in TEST_ASSERT
Print the errno besides error-string in TEST_ASSERT in the format of
"errno=%d - %s" will explicitly indicate that the string is an error
information. Besides, the errno is easier to be used for debugging
than the error-string.

Suggested-by: Andrew Jones <drjones@redhat.com>
Signed-off-by: Yanan Wang <wangyanan55@huawei.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-Id: <20210330080856.14940-5-wangyanan55@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-04-20 04:18:52 -04:00
..
aarch64 KVM: selftests: Make vm_create_default common 2020-11-15 09:49:19 -05:00
s390x KVM: s390: Features and Test for 5.11 2020-12-12 03:58:31 -05:00
x86_64 selftests: kvm: avoid uninitialized variable warning 2021-02-15 11:42:45 -05:00
assert.c KVM: selftests: Print the errno besides error-string in TEST_ASSERT 2021-04-20 04:18:52 -04:00
elf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
guest_modes.c KVM: selftests: Factor out guest mode code 2021-01-07 18:07:29 -05:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util_internal.h KVM: selftests: Add dirty ring buffer test 2020-11-15 09:49:17 -05:00
kvm_util.c selftests: kvm: Mmap the entire vcpu mmap area 2021-03-02 14:30:53 -05:00
perf_test_util.c KVM: selftests: Add backing src parameter to dirty_log_perf_test 2021-02-04 05:27:19 -05:00
sparsebit.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.c KVM: selftests: Add backing src parameter to dirty_log_perf_test 2021-02-04 05:27:19 -05:00