mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2024-09-20 03:10:09 +00:00
Fix startup
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
42a9434c50
commit
78cbe59e64
@ -2,13 +2,8 @@
|
||||
|
||||
source tests/docker_env.sh
|
||||
|
||||
if [[ "$#" -gt 1 ]]; then
|
||||
if [[ $1 == "pkcs11" ]]; then
|
||||
run_in_docker ./tests/start-up-and-test-pkcs11.sh
|
||||
elif [[ $1 == "pytest" ]]; then
|
||||
run_in_docker ./tests/start-up-and-test.sh
|
||||
fi
|
||||
if [[ $1 == "pkcs11" ]]; then
|
||||
run_in_docker ./tests/start-up-and-test-pkcs11.sh
|
||||
else
|
||||
run_in_docker ./tests/start-up-and-test.sh
|
||||
fi
|
||||
|
||||
|
@ -13,8 +13,9 @@ sleep 2
|
||||
rm -f memory.flash
|
||||
tar -xf tests/memory.tar.gz
|
||||
echo -n "Start Pico HSM... "
|
||||
./build_in_docker/pico_hsm > /dev/null 2>&1 &
|
||||
./build_in_docker/pico_hsm &
|
||||
test $? -eq 0 && echo -e "${OK}" || {
|
||||
echo -e "${FAIL}"
|
||||
exit 1
|
||||
}
|
||||
sleep 2
|
||||
|
Loading…
Reference in New Issue
Block a user