Skip to content

Commit

Permalink
samples: psa_crypto: Add twister regex for attestation token
Browse files Browse the repository at this point in the history
So far running twister tests didn't fail even though the sample failed
to receive the initial attestation token data.
Therefore this adds the regex lines that the samples prints if the
IAT data were received.

Signed-off-by: Markus Swarowsky <markus.swarowsky@nordicsemi.no>
  • Loading branch information
mswarowsky authored and stephanosio committed Nov 2, 2022
1 parent d2326fe commit c859f30
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions samples/tfm_integration/psa_crypto/sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ tests:
harness_config:
type: multi_line
regex:
- "System IAT size is: (.*)"
- "Requesting IAT with (.*) byte challenge."
- "IAT data received: (.*)"
- "Retrieving public key for key #1"
- "Signature verified"
- "Destroyed persistent key #1"
Expand Down

0 comments on commit c859f30

Please sign in to comment.