Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests: Fix some issue with test for swtpm_setup --profile #880

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

stefanberger
Copy link
Owner

Fix the following issues:

  • use a regular expression instead of hard coded '4' to match StateFormatLevel number that will change in the future
  • get all available profiles from running tpm rather than only the active profile -> use --info 0x40
  • only compare with regular experssion if it is non-empty because this otherwise fails on Cygwin

Fix the following issues:
- use a regular expression instead of hard coded '4' to match
  StateFormatLevel number that will change in the future
- get all available profiles from running tpm rather than only the active
  profile -> use --info 0x40
- only compare with regular experssion if it is non-empty because
  this otherwise fails on Cygwin

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
@stefanberger stefanberger merged commit 4a7af53 into master Jul 23, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant