summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2017-12-18 19:40:26 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2017-12-18 19:40:26 +0100
commit52ca369ba67b6cc0ef7af728e5c5da313e153345 (patch)
tree94e12902422fcb011d010d0dfc0b3090ad1b313e
parent3750f4e3de4f970c94f4f2a7b9f2b5c8402e9e86 (diff)
downloaddeployment-52ca369ba67b6cc0ef7af728e5c5da313e153345.tar.gz
deployment-52ca369ba67b6cc0ef7af728e5c5da313e153345.tar.bz2
deployment-52ca369ba67b6cc0ef7af728e5c5da313e153345.zip
actually formatting output
-rwxr-xr-xbuildbot/checks.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/buildbot/checks.sh b/buildbot/checks.sh
index 94bceb7..aafeacc 100755
--- a/buildbot/checks.sh
+++ b/buildbot/checks.sh
@@ -10,42 +10,48 @@ fi
if ! test 200 = curl \
-H "X-Taler-Deployment-Color: $nonactive" \
- -s https://exchange.test.taler.net/ &> /dev/null; then
+ -s https://exchange.test.taler.net/ -o /dev/null \
+ -w "%{http_code}"; then
echo Exchange did not restart correctly
exit 1
fi
if ! test 200 = curl \
-H "X-Taler-Deployment-Color: $nonactive" \
- -s http://backend.test.taler.net/ &> /dev/null; then
+ -s http://backend.test.taler.net/ -o /dev/null \
+ -w "%{http_code}"; then
echo Merchant backend did not restart correctly
exit 1
fi
if ! test 200 = curl \
-H "X-Taler-Deployment-Color: $nonactive" \
- -s https://shop.test.taler.net/ &> /dev/null; then
+ -s https://shop.test.taler.net/ -o /dev/null \
+ -w "%{http_code}"; then
echo Blog did not restart correctly
exit 1
fi
if ! test 200 = curl \
-H "X-Taler-Deployment-Color: $nonactive" \
- -s https://donations.test.taler.net/ &> /dev/null; then
+ -s https://donations.test.taler.net/ -o /dev/null \
+ -w "%{http_code}"; then
echo Donations shop did not restart correctly
exit 1
fi
if ! test 200 = curl \
-H "X-Taler-Deployment-Color: $nonactive" \
- -s https://bank.test.taler.net/ &> /dev/null; then
+ -s https://bank.test.taler.net/ -o /dev/null \
+ -w "%{http_code}"; then
echo Bank did not restart correctly
exit 1
fi
if ! test 200 = curl \
-H "X-Taler-Deployment-Color: $nonactive" \
- -s https://test.taler.net/ &> /dev/null; then
+ -s https://test.taler.net/ -o /dev/null \
+ -w "%{http_code}"; then
echo Landing page did not restart correctly
exit 1
fi