From: dongwenjuan Date: Mon, 22 Aug 2016 02:59:51 +0000 (+0800) Subject: string compare use `!=` not `-ne` X-Git-Tag: colorado.1.0~12 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=doctor.git;a=commitdiff_plain;h=a60aa0abf92a6658b2af446a02617e6832fc8412 string compare use `!=` not `-ne` Change-Id: I1e3ef0ed1483de6e0b4c4a4101b509a3a3ec2465 Signed-off-by: dongwenjuan --- diff --git a/tests/run.sh b/tests/run.sh index ccc270a4..a972c35d 100755 --- a/tests/run.sh +++ b/tests/run.sh @@ -59,7 +59,7 @@ get_installer_ip() { fi fi - if [[ "$INSTALLER_TYPE" -ne "local" ]] ; then + if [[ "$INSTALLER_TYPE" != "local" ]] ; then if [[ -z "$INSTALLER_IP" ]] ; then echo "ERROR: no installer ip" exit 1