Re-enable policy test
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
parent
961b988627
commit
cf65a6e208
2 changed files with 3 additions and 9 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -57,6 +57,6 @@ jobs:
|
||||||
TCTI=swtpm: SKIP_CLEVIS=true cargo test -- --nocapture
|
TCTI=swtpm: SKIP_CLEVIS=true cargo test -- --nocapture
|
||||||
- name: Run policy tests
|
- name: Run policy tests
|
||||||
run: |
|
run: |
|
||||||
# TCTI=swtpm: ./tests/test_policy
|
TCTI=swtpm: ./tests/test_policy
|
||||||
- name: Run clippy
|
- name: Run clippy
|
||||||
run: cargo clippy -- -D warnings
|
run: cargo clippy -- -D warnings
|
||||||
|
|
|
@ -125,14 +125,8 @@ const SKIP_CLEVIS: Option<&'static str> = option_env!("SKIP_CLEVIS");
|
||||||
// Testing against clevis requires https://github.com/latchset/clevis/commit/c6fc63fc055c18927decc7bcaa07821d5ae37614
|
// Testing against clevis requires https://github.com/latchset/clevis/commit/c6fc63fc055c18927decc7bcaa07821d5ae37614
|
||||||
#[test]
|
#[test]
|
||||||
fn pcr_tests() {
|
fn pcr_tests() {
|
||||||
let mut encrypters = vec![
|
let mut encrypters = vec![generate_encrypt_us(false), generate_encrypt_us(true)];
|
||||||
generate_encrypt_us(false),
|
let mut decrypters = vec![generate_decrypt_us(false), generate_decrypt_us(true)];
|
||||||
generate_encrypt_us(true),
|
|
||||||
];
|
|
||||||
let mut decrypters = vec![
|
|
||||||
generate_decrypt_us(false),
|
|
||||||
generate_decrypt_us(true),
|
|
||||||
];
|
|
||||||
if SKIP_CLEVIS.is_none() {
|
if SKIP_CLEVIS.is_none() {
|
||||||
encrypters.push(generate_encrypt_clevis());
|
encrypters.push(generate_encrypt_clevis());
|
||||||
decrypters.push(generate_decrypt_clevis());
|
decrypters.push(generate_decrypt_clevis());
|
||||||
|
|
Loading…
Reference in a new issue