Fix on robot init detection 15/23015/1
authorGary Wu <gary.i.wu@huawei.com>
Thu, 9 Nov 2017 20:00:29 +0000 (12:00 -0800)
committerGary Wu <gary.i.wu@huawei.com>
Thu, 9 Nov 2017 20:00:29 +0000 (12:00 -0800)
Change-Id: I2de0f69c42ac85837da5d42e69aa2b8db2d10361
Issue-ID: INT-278
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
test/ete/scripts/run-healthcheck.sh

index 057504e..b69a2a9 100755 (executable)
@@ -21,7 +21,7 @@ ssh-keygen -R ${ROBOT_IP}
 
 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