aboutsummaryrefslogtreecommitdiff
path: root/tests/qtest/tpm-tis-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/qtest/tpm-tis-test.c')
-rw-r--r--tests/qtest/tpm-tis-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/tpm-tis-test.c b/tests/qtest/tpm-tis-test.c
index 6fee4779ea..a4a25ba745 100644
--- a/tests/qtest/tpm-tis-test.c
+++ b/tests/qtest/tpm-tis-test.c
@@ -40,6 +40,7 @@ int main(int argc, char **argv)
g_mutex_init(&test.data_mutex);
g_cond_init(&test.data_cond);
test.data_cond_signal = false;
+ test.tpm_version = TPM_VERSION_2_0;
thread = g_thread_new(NULL, tpm_emu_ctrl_thread, &test);
tpm_emu_test_wait_cond(&test);