diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2011-12-10 12:28:45 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2011-12-10 12:28:45 +0200 |
commit | 4390d748059b28ae9900aa77a9808707526b2332 (patch) | |
tree | 3232afb9ff15d92d7c6bf4d4be2d10a4626a8f12 /test | |
parent | 59ecfcb3e5d2f9b04f6f4d5c9f4851395ba8591b (diff) | |
download | connman-4390d748059b28ae9900aa77a9808707526b2332.tar.gz connman-4390d748059b28ae9900aa77a9808707526b2332.tar.bz2 connman-4390d748059b28ae9900aa77a9808707526b2332.zip |
build: Remove unused list-profiles test script
Diffstat (limited to 'test')
-rwxr-xr-x | test/list-profiles | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/test/list-profiles b/test/list-profiles deleted file mode 100755 index b9b9103a..00000000 --- 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 |