2021-04-19 13:43:55 -04:00

28 lines
578 B
Bash
Executable File

#!/bin/bash
set -e
set -o pipefail
bold=$(tput bold)
normal=$(tput sgr0)
mkdir -p /tmp/pi
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/shamir-2-of-3.exp
expect ./tests/clone.exp
expect ./tests/convert-default-to-shamir-2-of-3.exp
expect ./tests/convert-shamir-2-of-3-to-default.exp
expect ./tests/duplicate.exp
expect ./tests/secure-erase.exp