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" echo "--- Wallet sanity"
( (
set -x set -x
multinode-demo/test/wallet-sanity.sh scripts/wallet-sanity.sh
) || flag_error ) || flag_error
echo "--- Node count" echo "--- Node count"

View File

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

View File

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