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:
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
|
#!/bin/bash -eu
|
||||||
|
|
||||||
source tests/docker_env.sh
|
source tests/docker_env.sh
|
||||||
run_in_docker rm -f memory.flash
|
|
||||||
run_in_docker ./tests/start-up-and-test.sh
|
run_in_docker ./tests/start-up-and-test.sh
|
||||||
|
|
||||||
|
|||||||
@@ -2,5 +2,7 @@
|
|||||||
|
|
||||||
/usr/sbin/pcscd &
|
/usr/sbin/pcscd &
|
||||||
sleep 2
|
sleep 2
|
||||||
|
rm -f memory.flash
|
||||||
|
tar -xf tests/memory.tar.gz
|
||||||
./build_in_docker/pico_hsm > /dev/null &
|
./build_in_docker/pico_hsm > /dev/null &
|
||||||
pytest tests -W ignore::DeprecationWarning
|
pytest tests -W ignore::DeprecationWarning
|
||||||
|
|||||||
Reference in New Issue
Block a user