summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2009-03-25 18:56:55 -0700
committerMarcel Holtmann <marcel@holtmann.org>2009-03-25 18:56:55 -0700
commit0d0a895973544466177880f4cdcdd6db806f6518 (patch)
tree783c86ae44e835bc5579cba60c7e6713e43e3e66 /test
parentfa0509daa64c3543ae876472bf157339e9a2b646 (diff)
downloadconnman-0d0a895973544466177880f4cdcdd6db806f6518.tar.gz
connman-0d0a895973544466177880f4cdcdd6db806f6518.tar.bz2
connman-0d0a895973544466177880f4cdcdd6db806f6518.zip
Fix broken test script for network selection
Diffstat (limited to 'test')
-rwxr-xr-xtest/select-network3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/select-network b/test/select-network
index e7d1a635..e7c19be3 100755
--- a/test/select-network
+++ b/test/select-network
@@ -31,6 +31,9 @@ for path in properties["Devices"]:
properties = network.GetProperties()
+ if "Name" not in properties.keys:
+ continue
+
if (properties["Connected"] == dbus.Boolean(1)):
continue