From: Sage Weil Date: Thu, 24 Aug 2017 19:27:59 +0000 (-0400) Subject: test/mgr/mgr-dashboard-smoke: fix syntax error X-Git-Tag: v13.0.1~1107^2~5 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4eac5bd4f757d858ae39adbf0160e1ba981e93c1;p=ceph.git test/mgr/mgr-dashboard-smoke: fix syntax error Signed-off-by: Sage Weil --- diff --git a/src/test/mgr/mgr-dashboard-smoke.sh b/src/test/mgr/mgr-dashboard-smoke.sh index 5cea304bf39..f94c02aab8a 100755 --- a/src/test/mgr/mgr-dashboard-smoke.sh +++ b/src/test/mgr/mgr-dashboard-smoke.sh @@ -49,8 +49,8 @@ function run() { tries=0 while [[ $tries < 30 ]] ; do - if [ curl -s http://127.0.0.1:7001/toplevel_data | \ - jq '.health.overall_status' | grep HEALTH_ ] + if curl -s http://127.0.0.1:7001/toplevel_data | \ + jq '.health.overall_status' | grep HEALTH_ then break fi