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:
9a3d10f
)
test: The default polling loop mode is Initiator
author
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 1 Jun 2012 13:52:52 +0000
(15:52 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Fri, 1 Jun 2012 13:52:52 +0000
(15:52 +0200)
test/start-poll
patch
|
blob
|
history
diff --git
a/test/start-poll
b/test/start-poll
index
61f9203
..
858597b
100755
(executable)
--- a/
test/start-poll
+++ b/
test/start-poll
@@
-8,7
+8,7
@@
if len(sys.argv) < 2:
sys.exit(1)
if len(sys.argv) < 3:
- mode = ""
+ mode = "
Initiator
"
else:
mode = sys.argv[2]
@@
-18,7
+18,7
@@
manager = dbus.Interface(bus.get_object("org.neard", "/"),
"org.neard.Manager")
-print "Mode %s" % (mode)
+print "
Polling
Mode %s" % (mode)
path = "/org/neard/" + sys.argv[1]
adapter = dbus.Interface(bus.get_object("org.neard", path),