aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2018-11-06 09:08:40 -0500
committerStefan Berger <stefanb@linux.vnet.ibm.com>2018-11-14 16:12:24 -0500
commit5e58b58c478bd00c807bd7814ccab148d49cc901 (patch)
treed7d29d49199ce2a8053eb8a700ca162f10195941 /tests
parent6a50bb98f24929c9fc69e9197eb21c142e061fbd (diff)
tests: tpm: Use g_test_message rather than fprintf
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/tpm-tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tpm-tests.c b/tests/tpm-tests.c
index 93a5beba01..582ec0cfd4 100644
--- 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;
}