Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Fix testcase for policygen.bats#58

Open
joylatten wants to merge 1 commit intoproject-machine:mainfrom
joylatten:policygentest
Open

Fix testcase for policygen.bats#58
joylatten wants to merge 1 commit intoproject-machine:mainfrom
joylatten:policygentest

Conversation

@joylatten
Copy link

This commit does several things:

  1. Fix testcase that tests using defaults when generating policy.
  2. The expected luks policy differed from the one in the snakeoil pcr7data dir. Changed it to use the one from snakeoil pcr7data dir to test against.
  3. The perms for policy files in snakeoil pcr7data were 644, so changed to that when creating policy output files with "trust tpm-policy-gen"

This commit does several things:
1. Fix testcase that tests using defaults when generating policy.
2. The expected luks policy differed from the one in the snakeoil
   pcr7data dir. Changed it to use the one from snakeoil pcr7data dir to
   test against.
3. The perms for policy files in snakeoil pcr7data were 644, so changed
   to that when creating policy output files with "trust tpm-policy-gen"

Signed-off-by: Joy Latten <jlatten@cisco.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant