summaryrefslogtreecommitdiffstats
path: root/tests/run.sh
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2016-08-22 10:59:51 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2016-08-22 10:59:51 +0800
commita60aa0abf92a6658b2af446a02617e6832fc8412 (patch)
treea5137ef17d66cc94547d603e92aec2bad6612fb2 /tests/run.sh
parent5ef69fe5a6d84686b44e3d8b455c5fd69094d0d9 (diff)
string compare use `!=` not `-ne`
Change-Id: I1e3ef0ed1483de6e0b4c4a4101b509a3a3ec2465 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
Diffstat (limited to 'tests/run.sh')
-rwxr-xr-xtests/run.sh2
1 files changed, 1 insertions, 1 deletions
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