projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add a special test script to monitor service related signals
[connman]
/
test
/
list-connections
diff --git
a/test/list-connections
b/test/list-connections
index
806490d
..
655e50a
100755
(executable)
--- a/
test/list-connections
+++ b/
test/list-connections
@@
-18,6
+18,10
@@
for path in properties["Connections"]:
print "[ %s ]" % (path)
for key in properties.keys():
- print " %s = %s" % (key, properties[key])
+ if key in ["Strength", "Priority"]:
+ val = int(properties[key])
+ else:
+ val = str(properties[key])
+ print " %s = %s" % (key, val)
print