diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2013-11-25 00:02:04 +0100 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2013-11-25 00:02:46 +0100 |
commit | 60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d (patch) | |
tree | 7cf3ce55d001d9b1a3ff1732fe38a84016517fb7 | |
parent | 1038cc3211d8d60603657dfeef9a4bbbce1fab90 (diff) | |
download | neard-60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d.tar.gz neard-60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d.tar.bz2 neard-60f82868a2a1acb5d0ebb1b68dcb96aeb289a32d.zip |
test: Display device properties from the list command
-rwxr-xr-x | test/test-device | 5 |
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"): |