From a60aa0abf92a6658b2af446a02617e6832fc8412 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Mon, 22 Aug 2016 10:59:51 +0800 Subject: string compare use `!=` not `-ne` Change-Id: I1e3ef0ed1483de6e0b4c4a4101b509a3a3ec2465 Signed-off-by: dongwenjuan --- tests/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg