diff options
-rwxr-xr-x | contrib/taler-bank-manage-testing | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/contrib/taler-bank-manage-testing b/contrib/taler-bank-manage-testing index 7e4da516f..f73c39a1b 100755 --- a/contrib/taler-bank-manage-testing +++ b/contrib/taler-bank-manage-testing @@ -37,13 +37,13 @@ echo -n "Waiting for Sandbox.." for n in `seq 1 50`; do echo -n "." sleep 1 - wget --timeout=1 \ + if wget --timeout=1 \ --tries=3 --waitretry=0 \ -o /dev/null -O /dev/null \ - $LIBEUFIN_SANDBOX_URL - break + $LIBEUFIN_SANDBOX_URL; then + break + fi done -sleep 1 #7293 echo OK register_sandbox_account() { @@ -122,13 +122,13 @@ set +e for n in `seq 1 50`; do echo -n "." sleep 1 - wget --timeout=1 \ + if wget --timeout=1 \ --tries=3 --waitretry=0 \ -o /dev/null -O /dev/null \ - $LIBEUFIN_NEXUS_URL - break + $LIBEUFIN_NEXUS_URL; then + break + fi done -sleep 1 #7293 set -e echo OK export LIBEUFIN_NEXUS_USERNAME=exchange |