summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2011-12-10 10:28:45 (GMT)
committerMarcel Holtmann <marcel@holtmann.org>2011-12-10 10:28:45 (GMT)
commit4390d748059b28ae9900aa77a9808707526b2332 (patch)
tree3232afb9ff15d92d7c6bf4d4be2d10a4626a8f12 /test
parent59ecfcb3e5d2f9b04f6f4d5c9f4851395ba8591b (diff)
downloadconnman-4390d748059b28ae9900aa77a9808707526b2332.zip
connman-4390d748059b28ae9900aa77a9808707526b2332.tar.gz
connman-4390d748059b28ae9900aa77a9808707526b2332.tar.bz2
build: Remove unused list-profiles test script
Diffstat (limited to 'test')
-rwxr-xr-xtest/list-profiles34
1 files changed, 0 insertions, 34 deletions
diff --git a/test/list-profiles b/test/list-profiles
deleted file mode 100755
index b9b9103..0000000
--- a/test/list-profiles
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/usr/bin/python
-
-import dbus
-
-bus = dbus.SystemBus()
-
-manager = dbus.Interface(bus.get_object("net.connman", "/"),
- "net.connman.Manager")
-
-properties = manager.GetProperties()
-
-active = properties["ActiveProfile"]
-
-for path in properties["Profiles"]:
- if (active == path):
- print "[ %s ] <== active" % (path)
- else:
- print "[ %s ]" % (path)
-
- profile = dbus.Interface(bus.get_object("net.connman", path),
- "net.connman.Profile")
-
- properties = profile.GetProperties()
- for key in properties.keys():
- if key in ["Services"]:
- list = ""
- for path in properties["Services"]:
- val = str(path)
- list = list + val[val.rfind("/") + 1:] + " "
- print " Services = [ %s]" % (list)
- else:
- print " %s = %s" % (key, properties[key])
-
- print