Skip to content

Commit

Permalink
blackbox(test_ssl): lowercase success messages
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Dec 6, 2016
1 parent a2074c0 commit a23430f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions blackbox/test_ssl.sh
Expand Up @@ -17,15 +17,15 @@ PID=$!
sleep 0.5

if "$ROOT"/converge ping --log-level=ERROR > /dev/null; then
echo "SUCCESS: RPC ping without SSL"
echo "success: RPC ping without SSL"
else
echo "FAIL: RPC ping without SSL"
exit 1
fi

# HTTP Ping without SSL
if curl -fs http://localhost:4774/api/v1/ping > /dev/null; then
echo "SUCCESS: HTTP ping without SSL"
echo "success: HTTP ping without SSL"
else
echo "FAIL: HTTP ping without SSL"
exit 1
Expand All @@ -46,15 +46,15 @@ sleep 0.5

# RPC Ping with SSL
if "$ROOT"/converge ping --ca-file "$ROOT"/blackbox/ssl/Converge_Test.crt --use-ssl --log-level=ERROR > /dev/null; then
echo "SUCCESS: RPC ping with SSL"
echo "success: RPC ping with SSL"
else
echo "FAIL: RPC ping with SSL"
exit 1
fi

# HTTP Ping with SSL
if curl -fs --cacert "$ROOT"/blackbox/ssl/Converge_Test.crt https://localhost:4774/api/v1/ping > /dev/null; then
echo "SUCCESS: HTTP ping with SSL"
echo "success: HTTP ping with SSL"
else
echo "FAIL: HTTP ping with SSL"
exit 1
Expand Down

0 comments on commit a23430f

Please sign in to comment.