projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a50bb9
)
tests: tpm: Use g_test_message rather than fprintf
author
Stefan Berger
<stefanb@linux.vnet.ibm.com>
Tue, 6 Nov 2018 14:08:40 +0000
(09:08 -0500)
committer
Stefan Berger
<stefanb@linux.vnet.ibm.com>
Wed, 14 Nov 2018 21:12:24 +0000
(16:12 -0500)
Display a message during the test using g_test_message rather
than fprintf.
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
tests/tpm-tests.c
patch
|
blob
|
history
diff --git
a/tests/tpm-tests.c
b/tests/tpm-tests.c
index 93a5beba01654a48685b7abe600db87aadca1635..582ec0cfd4f767235397ea5f34b4207863014c55 100644
(file)
--- a/
tests/tpm-tests.c
+++ b/
tests/tpm-tests.c
@@
-22,7
+22,7
@@
static bool
tpm_test_swtpm_skip(void)
{
if (!tpm_util_swtpm_has_tpm2()) {
-
fprintf(stderr, "swtpm not in PATH or missing --tpm2 support;
");
+
g_test_message("swtpm not in PATH or missing --tpm2 support
");
return true;
}