Implemented unit tests

This commit is contained in:
Sun Knudsen 2021-04-17 16:31:44 -04:00
parent 3c3bec5a5e
commit dbdcd21780
No known key found for this signature in database
GPG key ID: 1FA767862BBD1305
7 changed files with 1111 additions and 1 deletions

View file

@ -0,0 +1,20 @@
#!/bin/bash
set -e
set -o pipefail
bold=$(tput bold)
normal=$(tput sgr0)
printf "$bold%s$normal\n" "Please type root password and press enter"
read -rs password
export password=$password
printf "%s\n" "Running unit tests…"
expect ./tests/bip39.exp
expect ./tests/electrum.exp
expect ./tests/default.exp
expect ./tests/shamir.exp
expect ./tests/shamir2of3.exp