Implemented unit tests
This commit is contained in:
parent
3c3bec5a5e
commit
dbdcd21780
7 changed files with 1111 additions and 1 deletions
20
how-to-create-encrypted-paper-backup/test.sh
Executable file
20
how-to-create-encrypted-paper-backup/test.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue