OSDN Git Service

KVM: selftests: Use TAP interface in the kvm_binary_stats_test
authorThomas Huth <thuth@redhat.com>
Tue, 4 Oct 2022 09:31:29 +0000 (11:31 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Dec 2022 11:02:56 +0000 (06:02 -0500)
commitd324a733a9346081957f9d74b9e0a05e8a7a0da5
tree98ed48bff2ce6f72127331a75b41224f03016034
parent641e6808586d76b477c00de804358982b95c8d50
KVM: selftests: Use TAP interface in the kvm_binary_stats_test

The kvm_binary_stats_test test currently does not have any output (unless
one of the TEST_ASSERT statement fails), so it's hard to say for a user
how far it did proceed already. Thus let's make this a little bit more
user-friendly and include some TAP output via the kselftest.h interface.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Andrew Jones <andrew.jones@linux.dev>
Message-Id: <20221004093131.40392-2-thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
tools/testing/selftests/kvm/kvm_binary_stats_test.c