KVM: s390: selftests: Use TAP interface in the tprot test
authorThomas Huth <thuth@redhat.com>
Tue, 31 May 2022 10:15:53 +0000 (12:15 +0200)
committerChristian Borntraeger <borntraeger@linux.ibm.com>
Wed, 1 Jun 2022 14:57:15 +0000 (16:57 +0200)
commit0c073227df5055714a545cbe536e3bd9ea39c74b
tree08067fb6914643c26046fa7f5514ef76c79426b9
parent17e48d8a1ef0ab070b11e7368e14ac45c335de57
KVM: s390: selftests: Use TAP interface in the tprot test

The tprot test currently does not have any output (unless one of
the TEST_ASSERT statement fails), so it's hard to say for a user
whether a certain new sub-test has been included in the binary or
not. Let's make this a little bit more user-friendly and include
some TAP output via the kselftests.h interface.

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
Reviewed-by: Janis Schoetterl-Glausch <scgl@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://lore.kernel.org/r/20220531101554.36844-4-thuth@redhat.com
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
tools/testing/selftests/kvm/s390x/tprot.c