summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2013-01-02 15:57:34 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-01-03 10:40:57 +0200
commitac091c67c87cd2c18da02ef20691e7c4d744040b (patch)
tree2d1f352baf6ee4808b0437c33f90abb87be5b4b9 /test
parentc63334ea520c6f6854b1e603aa4976830ae4c707 (diff)
downloadconnman-ac091c67c87cd2c18da02ef20691e7c4d744040b.tar.gz
connman-ac091c67c87cd2c18da02ef20691e7c4d744040b.tar.bz2
connman-ac091c67c87cd2c18da02ef20691e7c4d744040b.zip
test: Fix simple-agent so it registers the right path
Diffstat (limited to 'test')
-rwxr-xr-xtest/simple-agent8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/simple-agent b/test/simple-agent
index ebb44c57..2487b7bb 100755
--- a/test/simple-agent
+++ b/test/simple-agent
@@ -309,8 +309,8 @@ if __name__ == '__main__':
vpn_manager = dbus.Interface(bus.get_object('net.connman.vpn', "/"),
'net.connman.vpn.Manager')
- path = "/test/vpn_agent"
- vpn_object = VpnAgent(bus, path)
+ vpn_path = "/test/vpn_agent"
+ vpn_object = VpnAgent(bus, vpn_path)
if len(sys.argv) >= 2:
for arg in sys.argv[1:]:
@@ -340,9 +340,9 @@ if __name__ == '__main__':
except:
print "Cannot register connman agent."
- vpn_manager.RegisterAgent(path)
+ vpn_manager.RegisterAgent(vpn_path)
- bus.watch_name_owner('net.connman.vpn', vpnNameOwnerChanged)
+ bus.watch_name_owner('net.connman.vpn', vpnNameOwnerChanged)
mainloop = gobject.MainLoop()
mainloop.run()