added bad component test

This commit is contained in:
lareine 2022-02-02 09:32:26 -05:00
parent 59d9d6f654
commit 01e398dbf2
3 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,12 @@ uploadTrustedCerts
setPlatformCerts "laptop" "platCertLight" setPlatformCerts "laptop" "platCertLight"
provisionTpm2 "pass" provisionTpm2 "pass"
writeToLogs "### ACA PLATFORM CERTIFICATE TEST 3: Test a Delta Platform Certificate that has a wrong a memory component ###"
clearAcaDb
uploadTrustedCerts
setPlatformCerts "laptop" "badDeltaMem"
provisionTpm2 "fail"
# Process Test Results, any single failure will send back a failed result. # Process Test Results, any single failure will send back a failed result.
if [[ $failedTests != 0 ]]; then if [[ $failedTests != 0 ]]; then
export TEST_STATUS=1; export TEST_STATUS=1;