stefanberger / swtpm

Libtpms-based TPM emulator with socket, character device, and Linux CUSE interface.
Other
564 stars 136 forks source link

tests: Add test cases for using swtpm --print-states while swtpm is r… #857

Closed stefanberger closed 3 months ago

stefanberger commented 3 months ago

…unning

swtpm <0.8 tried to lock the .lock file when executing --print-states, which then failed when another swtpm was holding the lock. This adds a test case for this scenario.