opgpcard: Make docker script more robust

This commit is contained in:
Nora Widdecke 2022-10-27 11:56:24 +02:00
parent bfe22ec1b8
commit db34132dda
No known key found for this signature in database
GPG key ID: 2D4111B31DBB99B6

View file

@ -20,4 +20,6 @@ sed -i "s/timeout=20/timeout=60/" /home/jcardsim/run-card.sh &&
su - -c "sh /home/jcardsim/run-card.sh >/dev/null" jcardsim &&
cd /src/tools &&
if ! [ -e virtual-card-available ]; then rm -f tests/opgpcard.rs; fi &&
CARGO_TARGET_DIR=/cargo/ cargo update &&
CARGO_TARGET_DIR=/cargo/ cargo build -vv &&
CARGO_TARGET_DIR=/cargo/ cargo test'