mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 09:28:05 +00:00
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:
parent
d81d51d6fc
commit
962d1c6916
3 changed files with 2 additions and 1 deletions
BIN
tests/memory.tar.gz
Normal file
BIN
tests/memory.tar.gz
Normal file
Binary file not shown.
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue