Diff between 367289f37dba56d0837cff0e006036c9fe026886 and 50383bf5b3af1652965b7b4652cb3270dad54b44

Changed Files

File Additions Deletions Status
test/exchange-business-cards +1 -1 modified
test/ftp-client +3 -2 modified
test/get-obex-capabilities +1 -1 modified
test/list-folders +3 -2 modified
test/map-client +3 -2 modified
test/opp-client +3 -2 modified
test/pbap-client +3 -2 modified
test/simple-obex-agent +2 -1 modified

Full Patch

diff --git a/test/exchange-business-cards b/test/exchange-business-cards
index 9271fdf..6805cf7 100755
--- a/test/exchange-business-cards
+++ b/test/exchange-business-cards
@@ -4,7 +4,7 @@ import sys
 import dbus
 
 bus = dbus.SessionBus()
-client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
+client = dbus.Interface(bus.get_object("org.bluez.obex", "/org/bluez/obex"),
 					"org.bluez.obex.Client")
 
 if (len(sys.argv) < 4):
diff --git a/test/ftp-client b/test/ftp-client
index e1a051b..f604c25 100755
--- a/test/ftp-client
+++ b/test/ftp-client
@@ -151,8 +151,9 @@ if  __name__ == '__main__':
 	bus = dbus.SessionBus()
 	mainloop = gobject.MainLoop()
 
-	client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
-				"org.bluez.obex.Client")
+	client = dbus.Interface(bus.get_object("org.bluez.obex",
+						"/org/bluez/obex"),
+						"org.bluez.obex.Client")
 
 	print "Creating Session"
 	path = client.CreateSession(options.device, { "Target": "ftp" })
diff --git a/test/get-obex-capabilities b/test/get-obex-capabilities
index 3fdf8e8..e8afbad 100755
--- a/test/get-obex-capabilities
+++ b/test/get-obex-capabilities
@@ -4,7 +4,7 @@ import sys
 import dbus
 
 bus = dbus.SessionBus()
-client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
+client = dbus.Interface(bus.get_object("org.bluez.obex", "/org/bluez/obex"),
 					"org.bluez.obex.Client")
 
 if (len(sys.argv) < 3):
diff --git a/test/list-folders b/test/list-folders
index 2203feb..7321a15 100755
--- a/test/list-folders
+++ b/test/list-folders
@@ -6,8 +6,9 @@ import dbus
 
 def list_folder(folder):
 	bus = dbus.SessionBus()
-	client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
-				"org.bluez.obex.Client")
+	client = dbus.Interface(bus.get_object("org.bluez.obex",
+						"/org/bluez/obex"),
+						"org.bluez.obex.Client")
 
 	path = client.CreateSession(sys.argv[1], { "Target": "ftp" })
 
diff --git a/test/map-client b/test/map-client
index 9a9dff2..e29e6e4 100755
--- a/test/map-client
+++ b/test/map-client
@@ -166,8 +166,9 @@ if  __name__ == '__main__':
 	bus = dbus.SessionBus()
 	mainloop = gobject.MainLoop()
 
-	client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
-				"org.bluez.obex.Client")
+	client = dbus.Interface(bus.get_object("org.bluez.obex",
+						"/org/bluez/obex"),
+						"org.bluez.obex.Client")
 
 	print "Creating Session"
 	path = client.CreateSession(options.device, { "Target": "map" })
diff --git a/test/opp-client b/test/opp-client
index cb0a683..b26a81c 100755
--- a/test/opp-client
+++ b/test/opp-client
@@ -104,8 +104,9 @@ if  __name__ == '__main__':
 	bus = dbus.SessionBus()
 	mainloop = gobject.MainLoop()
 
-	client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
-				"org.bluez.obex.Client")
+	client = dbus.Interface(bus.get_object("org.bluez.obex",
+						"/org/bluez/obex"),
+						"org.bluez.obex.Client")
 
 	print "Creating Session"
 	path = client.CreateSession(options.device, { "Target": "OPP" })
diff --git a/test/pbap-client b/test/pbap-client
index ac7b28b..0a81cbc 100755
--- a/test/pbap-client
+++ b/test/pbap-client
@@ -98,8 +98,9 @@ if  __name__ == '__main__':
 	bus = dbus.SessionBus()
 	mainloop = gobject.MainLoop()
 
-	client = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
-				"org.bluez.obex.Client")
+	client = dbus.Interface(bus.get_object("org.bluez.obex",
+						"/org/bluez/obex"),
+						"org.bluez.obex.Client")
 
 	if (len(sys.argv) < 2):
 		print "Usage: %s <device>" % (sys.argv[0])
diff --git a/test/simple-obex-agent b/test/simple-obex-agent
index 1902082..3247079 100755
--- a/test/simple-obex-agent
+++ b/test/simple-obex-agent
@@ -97,7 +97,8 @@ if __name__ == '__main__':
 	dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
 
 	bus = dbus.SessionBus()
-	manager = dbus.Interface(bus.get_object("org.bluez.obex", "/"),
+	manager = dbus.Interface(bus.get_object("org.bluez.obex",
+						"/org/bluez/obex"),
 						"org.bluez.obex.Manager")
 	bus.add_signal_receiver(new_transfer,
 				dbus_interface="org.bluez.obex.Manager",