When runing a test, load a initial flash image that contains KEYDEV.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos 2023-02-14 22:53:30 +01:00
parent d81d51d6fc
commit 962d1c6916
No known key found for this signature in database
GPG key ID: C0095B7870A4CCD3
3 changed files with 2 additions and 1 deletions

BIN
tests/memory.tar.gz Normal file

Binary file not shown.

View file

@ -1,6 +1,5 @@
#!/bin/bash -eu
source tests/docker_env.sh
run_in_docker rm -f memory.flash
run_in_docker ./tests/start-up-and-test.sh

View file

@ -2,5 +2,7 @@
/usr/sbin/pcscd &
sleep 2
rm -f memory.flash
tar -xf tests/memory.tar.gz
./build_in_docker/pico_hsm > /dev/null &
pytest tests -W ignore::DeprecationWarning