summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-19 20:04:12 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2009-07-19 20:04:12 (GMT)
commit278061ec538f9781147f50831720da8600ccbbed (patch)
tree82e0c8724c6170f0423021c340238eaa3f16a931
parent5795a5c20529565bb6ac044b4cdd573c11a4e55d (diff)
downloadconnman-278061ec538f9781147f50831720da8600ccbbed.zip
connman-278061ec538f9781147f50831720da8600ccbbed.tar.gz
connman-278061ec538f9781147f50831720da8600ccbbed.tar.bz2
Add special handling for empty strings
-rwxr-xr-xtest/test-manager6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-manager b/test/test-manager
index 3383523..814f7ea 100755
--- a/test/test-manager
+++ b/test/test-manager
@@ -74,6 +74,12 @@ for key in properties.keys():
print " true"
else:
print " false"
+ elif key in ["DefaultTechnology"]:
+ print "%s" % (key)
+ if properties[key] == "":
+ print " <none>"
+ else:
+ print " %s" % (properties[key])
else:
print "%s" % (key)
print " %s" % (properties[key])