commit | 515751060997a09519b2d41e856d6ff488429aab | [log] [tgz] |
---|---|---|
author | Gary Wu <gary.i.wu@huawei.com> | Thu Nov 09 12:00:29 2017 -0800 |
committer | Gary Wu <gary.i.wu@huawei.com> | Thu Nov 09 12:00:29 2017 -0800 |
tree | 693b26d0be84be6c35fc55c3888dc88c8ab407a8 | |
parent | 4aa2aeedfffa45e2e2022a070bcc350b2a0210e5 [diff] |
Fix on robot init detection Change-Id: I2de0f69c42ac85837da5d42e69aa2b8db2d10361 Issue-ID: INT-278 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
diff --git a/test/ete/scripts/run-healthcheck.sh b/test/ete/scripts/run-healthcheck.sh index 057504e..b69a2a9 100755 --- a/test/ete/scripts/run-healthcheck.sh +++ b/test/ete/scripts/run-healthcheck.sh
@@ -21,7 +21,7 @@ ssh -o StrictHostKeychecking=no -i ${SSH_KEY} root@${ROBOT_IP} "OS_PASSWORD_INPUT=$OS_PASSWORD_INPUT bash -s" < ./remote/run-robot.sh -if [ $? -eq 0 ] +if [ ! $? -eq 0 ] then exit 1 fi