Skip to content

Commit

Permalink
Add key checking using parsec-tool
Browse files Browse the repository at this point in the history
The existance of keys after the test is run is now checked via a Parsec
tool call.

Signed-off-by: Ionut Mihalcea <[email protected]>
  • Loading branch information
ionut-arm committed Feb 27, 2023
1 parent 39182dd commit 5b3fb71
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ MBEDTLS_INCLUDE_DIR=$(pwd)/mbedtls/include cargo build --release
make -C ci/c-tests run MBED_TLS_PATH=$(pwd)/mbedtls

# Check that Parsec was called by checking if the service contains the key
# this is done by checking if the mappings folder is empty.
# Maybe use parsec-tool instead?
[ "$(ls -A /tmp/mappings)" ]
cargo install --locked parsec-tool
[ "$(RUST_LOG=error parsec-tool list-keys | wc -l)" -ne "0" ]

# Kill Parsec for clean logs
pkill parsec

0 comments on commit 5b3fb71

Please sign in to comment.