]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf124a6e446c7b85a575a20b94d882fdfd026954c
tree08067fb6914643c26046fa7f5514ef76c79426b9
parent0676362470bd2d0eab3e11f681652d716bc4ae05
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