diff options
Diffstat (limited to 'test/list-profiles')
-rwxr-xr-x | test/list-profiles | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/list-profiles b/test/list-profiles index 9a68d20e..710a36c2 100755 --- a/test/list-profiles +++ b/test/list-profiles @@ -9,8 +9,13 @@ manager = dbus.Interface(bus.get_object("org.moblin.connman", "/"), properties = manager.GetProperties() +active = properties["ActiveProfile"] + for path in properties["Profiles"]: - print "[ %s ]" % (path) + if (active == path): + print "[ %s ] <== active" % (path) + else: + print "[ %s ]" % (path) profile = dbus.Interface(bus.get_object("org.moblin.connman", path), "org.moblin.connman.Profile") |