Home GnuPG
Diffusion GnuPG 9353dc811a04

tests:tpm2dtests: Modify tests with SWTPM and relax the condition.

Description

tests:tpm2dtests: Modify tests with SWTPM and relax the condition.

* configure.ac (SWTPM_IOCTL): Remove.
(TEST_LIBTSS): Fix the condition.
* tests/tpm2dtests/Makefile.am (TESTS_ENVIRONMENT): Remove
SWTPM_IOCTL.
* tests/tpm2dtests/start_sw_tpm.sh: Add --flags to invoke SWTPM,
not requiring SWTPM_IOCTL and TSSSTARTUP any more.

Cherry-picked from master commit of:
227b3b14f4be2f33ed721818c2186e7fca4cebdf

  • GnuPG-bug-id: T6052
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 5 2023, 3:21 AM
Parents
rG0e200f2187e0: tests:tpm2dtests: Fix tests with SWTPM.
Branches
Unknown
Tags
Unknown
Tasks
T6052: gnupg2 tpm2d tests do not work