projects
/
platform
/
upstream
/
neard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1038cc3
)
test: Display device properties from the list command
author
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 24 Nov 2013 23:02:04 +0000
(
00:02
+0100)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Sun, 24 Nov 2013 23:02:46 +0000
(
00:02
+0100)
test/test-device
patch
|
blob
|
history
diff --git
a/test/test-device
b/test/test-device
index
477ae58
..
a4923fb
100755
(executable)
--- a/
test/test-device
+++ b/
test/test-device
@@
-50,6
+50,11
@@
if (sys.argv[1] == "list"):
print(" [ %s ]" % (path))
+ props = interfaces["org.neard.Device"]
+
+ for (key, value) in props.items():
+ print(" %s = %s" % (key, value))
+
sys.exit(0)
if (sys.argv[1] == "dump"):