git://git.onelab.eu
/
tests.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5079ff
)
check for zero length strings
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 24 Jan 2008 18:52:26 +0000
(18:52 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Thu, 24 Jan 2008 18:52:26 +0000
(18:52 +0000)
system/selftest
patch
|
blob
|
history
diff --git
a/system/selftest
b/system/selftest
index
02753ea
..
47b72f8
100755
(executable)
--- 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"
####################################################