diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-09-01 18:41:26 -0300 |
---|---|---|
committer | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2008-09-01 18:41:26 -0300 |
commit | 6a9485b234694c1d0490e00067b4f9fcc1ab1451 (patch) | |
tree | a25ef48c0748217ed4779a20293d37a9aa215eb1 /network | |
parent | fb321da624431c784e32bec80bd5cb68f73f3acc (diff) |
Network: Removed old test script
Diffstat (limited to 'network')
-rw-r--r-- | network/Makefile.am | 2 | ||||
-rwxr-xr-x | network/test-network | 37 |
2 files changed, 1 insertions, 38 deletions
diff --git a/network/Makefile.am b/network/Makefile.am index 71291d93..5966a619 100644 --- a/network/Makefile.am +++ b/network/Makefile.am @@ -19,6 +19,6 @@ AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@ INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/src -EXTRA_DIST = network.conf network-api.txt test-network +EXTRA_DIST = network.conf MAINTAINERCLEANFILES = Makefile.in diff --git a/network/test-network b/network/test-network deleted file mode 100755 index f428c25f..00000000 --- a/network/test-network +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/python - -import dbus - -bus = dbus.SystemBus() - -manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), - 'org.bluez.Manager') - -conn = manager.ActivateService('network') - -network = dbus.Interface(bus.get_object(conn, '/org/bluez/network'), - 'org.bluez.network.Manager') - -try: - nap = dbus.Interface(bus.get_object(conn, network.FindServer('nap')), - 'org.bluez.network.Server') -except: - pass - -try: - gn = dbus.Interface(bus.get_object(conn, network.FindServer('gn')), - 'org.bluez.network.Server') -except: - pass - -try: - panu = dbus.Interface(bus.get_object(conn, network.FindServer('panu')), - 'org.bluez.network.Server') -except: - pass - -try: - client = dbus.Interface(bus.get_object(conn, network.LastConnection()), - 'org.bluez.network.Connection') -except: - pass |