summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-07-19 22:04:12 +0200
committerMarcel Holtmann <marcel@holtmann.org>2009-07-19 22:04:12 +0200
commit278061ec538f9781147f50831720da8600ccbbed (patch)
tree82e0c8724c6170f0423021c340238eaa3f16a931 /test
parent5795a5c20529565bb6ac044b4cdd573c11a4e55d (diff)
downloadconnman-278061ec538f9781147f50831720da8600ccbbed.tar.gz
connman-278061ec538f9781147f50831720da8600ccbbed.tar.bz2
connman-278061ec538f9781147f50831720da8600ccbbed.zip
Add special handling for empty strings
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-manager6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-manager b/test/test-manager
index 33835237..814f7ead 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])