diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-10 13:23:20 +0100 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2017-03-10 13:23:20 +0100 |
commit | fb81d8c4b6fa317c912c01ccf1e6119ee1704f73 (patch) | |
tree | 06c13ef1599fdea964286ad6e51386c277808305 | |
parent | b6572bd52cb2f8c5f7f0ea4b6705aa5f3fabcc43 (diff) | |
download | deployment-fb81d8c4b6fa317c912c01ccf1e6119ee1704f73.tar.gz deployment-fb81d8c4b6fa317c912c01ccf1e6119ee1704f73.tar.bz2 deployment-fb81d8c4b6fa317c912c01ccf1e6119ee1704f73.zip |
Voiding exchange and merchant sanity checks (waiting for
unix domain sockets based ones).
-rwxr-xr-x | taler-build/switch_check_exchange.sh | 9 | ||||
-rwxr-xr-x | taler-build/switch_check_merchant.sh | 14 |
2 files changed, 2 insertions, 21 deletions
diff --git a/taler-build/switch_check_exchange.sh b/taler-build/switch_check_exchange.sh index bce4a09..c88e3f7 100755 --- a/taler-build/switch_check_exchange.sh +++ b/taler-build/switch_check_exchange.sh @@ -1,12 +1,5 @@ #!/bin/bash -status_code1=$(curl -s -o /dev/null -w "%{http_code}" https://exchange.test.taler.net/) -status_code2=$(curl -s -o /dev/null -w "%{http_code}" https://exchange.test.taler.net/keys) +# Keeping this file for future (unix socket based) checking tecnique. -if test \ - $status_code1 = 502 -o \ - $status_code2 = 502; then - echo Either \"/\" or \"/keys\" gave 502. - exit 1 -fi exit 0 diff --git a/taler-build/switch_check_merchant.sh b/taler-build/switch_check_merchant.sh index c5b9beb..c88e3f7 100755 --- a/taler-build/switch_check_merchant.sh +++ b/taler-build/switch_check_merchant.sh @@ -1,17 +1,5 @@ #!/bin/bash -status_code1=$(curl -s -o /dev/null -w "%{http_code}" https://shop.test.taler.net/backend) -status_code2=$(curl -s -o /dev/null -w "%{http_code}" https://shop.test.taler.net/backend/proposal) -status_code3=$(curl -s -o /dev/null -w "%{http_code}" https://donations.test.taler.net/backend) -status_code4=$(curl -s -o /dev/null -w "%{http_code}" https://donations.test.taler.net/backend/proposal) - -if test \ - $status_code1 = 502 -o \ - $status_code2 = 502 -o \ - $status_code3 = 502 -o \ - $status_code4 = 502; then - echo Either \"/\" or \"/proposal\" gave 502. - exit 1 -fi +# Keeping this file for future (unix socket based) checking tecnique. exit 0 |