diff options
author | Stefan Berger <stefanb@linux.ibm.com> | 2021-08-02 17:52:38 -0400 |
---|---|---|
committer | Stefan Berger <stefanb@linux.ibm.com> | 2021-08-31 17:33:11 -0400 |
commit | 09b20a148afeebe2084c92672d3acaa26a371296 (patch) | |
tree | 537307e3133dc01e8c12ac5612c2e03d49a52c35 /tests/qtest/tpm-crb-test.c | |
parent | 9bd0e32a194826facff4e12d2cc8ba027dc107cb (diff) |
tests: Add tpm_version field to TPMTestState and fill it
Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Message-id: 20210802215246.1433175-3-stefanb@linux.ibm.com
Diffstat (limited to 'tests/qtest/tpm-crb-test.c')
-rw-r--r-- | tests/qtest/tpm-crb-test.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/qtest/tpm-crb-test.c b/tests/qtest/tpm-crb-test.c index 50936f1482..7b94453390 100644 --- a/tests/qtest/tpm-crb-test.c +++ b/tests/qtest/tpm-crb-test.c @@ -156,6 +156,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); |