diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2017-11-09 12:00:29 -0800 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2017-11-09 12:00:29 -0800 |
commit | 515751060997a09519b2d41e856d6ff488429aab (patch) | |
tree | 693b26d0be84be6c35fc55c3888dc88c8ab407a8 /test/ete | |
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>
Diffstat (limited to 'test/ete')
-rwxr-xr-x | test/ete/scripts/run-healthcheck.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/ete/scripts/run-healthcheck.sh b/test/ete/scripts/run-healthcheck.sh index 057504efd..b69a2a9a2 100755 --- a/test/ete/scripts/run-healthcheck.sh +++ b/test/ete/scripts/run-healthcheck.sh @@ -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 |