summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-11-25 00:02:04 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-11-25 00:02:46 +0100
commit60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d (patch)
tree7cf3ce55d001d9b1a3ff1732fe38a84016517fb7
parent1038cc3211d8d60603657dfeef9a4bbbce1fab90 (diff)
downloadneard-60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d.tar.gz
neard-60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d.tar.bz2
neard-60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d.zip
test: Display device properties from the list command
-rwxr-xr-xtest/test-device5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/test-device b/test/test-device
index 477ae58..a4923fb 100755
--- 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"):