Move wallet-sanity.sh out of multinode-demo/

This commit is contained in:
Michael Vines 2018-09-07 09:46:21 -07:00
parent 05decc863f
commit ee682d5bc3
3 changed files with 4 additions and 5 deletions

View File

@ -64,7 +64,7 @@ flag_error() {
echo "--- Wallet sanity"
(
set -x
multinode-demo/test/wallet-sanity.sh
scripts/wallet-sanity.sh
) || flag_error
echo "--- Node count"

View File

@ -77,7 +77,7 @@ esac
echo "--- $entrypointIp: wallet sanity"
(
set -x
multinode-demo/test/wallet-sanity.sh "$entrypointRsyncUrl"
scripts/wallet-sanity.sh "$entrypointRsyncUrl"
)
echo "--- $entrypointIp: node count"

View File

@ -3,15 +3,14 @@
# Wallet sanity test
#
here=$(dirname "$0")
cd "$here"
cd "$(dirname "$0")"/..
if [[ -n "$USE_SNAP" ]]; then
# TODO: Merge wallet.sh functionality into solana-wallet proper and
# remove this USE_SNAP case
wallet="solana.wallet $1"
else
wallet="../wallet.sh $1"
wallet="multinode-demo/wallet.sh $1"
fi
# Tokens transferred to this address are lost forever...