From: Marc Fiuczynski Date: Thu, 24 Jan 2008 18:52:26 +0000 (+0000) Subject: check for zero length strings X-Git-Tag: 2008-02-11-last-vmware-support~93 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=4ed6b465ec0ad0d0c4e40c3a55592e0a78b7e316;p=tests.git check for zero length strings --- diff --git a/system/selftest b/system/selftest index 02753ea..47b72f8 100755 --- a/system/selftest +++ b/system/selftest @@ -3,8 +3,8 @@ SELF_HOST=$1 SELF_IP=$2 # all below addresses are those of the qemu host -[ -n "$SELF_HOST" ] && SELF_HOST="selftest.$(hostname)" -[ -n "$SELF_IP" ] && SELF_IP="10.1.159.48" +[ -z "$SELF_HOST" ] && SELF_HOST="selftest.$(hostname)" +[ -z "$SELF_IP" ] && SELF_IP="10.1.159.48" ####################################################