summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@linux.intel.com>2013-11-10 17:53:46 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2013-11-10 17:57:10 +0100
commitffde5699cd850b4780b0741f2b1c49bcda1a4898 (patch)
tree56b97dc543a3bcbdb4e93bd7f60c0e629cc8661a
parent51996f20c2bd5280050bad644eceff8ddcd57e9a (diff)
downloadneard-ffde5699cd850b4780b0741f2b1c49bcda1a4898.tar.gz
neard-ffde5699cd850b4780b0741f2b1c49bcda1a4898.tar.bz2
neard-ffde5699cd850b4780b0741f2b1c49bcda1a4898.zip
test: Remove dump-record
This is replaced with test/test-tag dump
-rw-r--r--Makefile.am3
-rwxr-xr-xtest/dump-record31
2 files changed, 1 insertions, 33 deletions
diff --git a/Makefile.am b/Makefile.am
index 03468de..32a3e91 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -79,8 +79,7 @@ EXTRA_DIST = src/genbuiltin $(doc_files)
dist_man_MANS = doc/neard.8 doc/neard.conf.5 doc/nfctool.1
test_scripts = test/test-adapter test/test-device \
- test/test-tag test/dump-record \
- test/monitor-near test/bt-handover \
+ test/test-tag test/monitor-near test/bt-handover \
test/handover-agent test/phdc-simple-manager \
test/neardutils.py
diff --git a/test/dump-record b/test/dump-record
deleted file mode 100755
index b4db2af..0000000
--- a/test/dump-record
+++ /dev/null
@@ -1,31 +0,0 @@
-#!/usr/bin/python
-
-import sys
-import dbus
-
-if len(sys.argv) < 2:
- print "Usage: %s /org/neard/nfcN/tagT/recordR" % (sys.argv[0])
- sys.exit(1)
-
-def extract_list(list):
- val = "["
- for i in list:
- val += " " + str(i)
- val += " ]"
- return val
-
-bus = dbus.SystemBus()
-
-record = dbus.Interface(bus.get_object("org.neard", sys.argv[1]),
- "org.neard.Record")
-
-properties = record.GetProperties()
-
-print "[ %s ]" % (sys.argv[1])
-
-for key in properties.keys():
- if key in ["Representation"]:
- val = unicode(properties[key])
- else:
- val = str(properties[key])
- print " %s = %s" % (key, val)