test: Fix dbus path in service-move-before script
authorJukka Rissanen <jukka.rissanen@linux.intel.com>
Wed, 31 Aug 2011 10:15:34 +0000 (13:15 +0300)
committerSamuel Ortiz <sameo@linux.intel.com>
Mon, 12 Sep 2011 09:40:48 +0000 (11:40 +0200)
Because of patch f8ef8b2a7f7ef1bd9e26df6cfb19a838e6b10b17 that removed
profile support, the path needs to be changed.

test/service-move-before

index f1fddd1..d912c88 100755 (executable)
@@ -12,11 +12,11 @@ if (len(sys.argv) < 2):
        sys.exit(1)
 
 bus = dbus.SystemBus()
-path = "/profile/default/" + sys.argv[1]
+path = "/net/connman/service/" + sys.argv[1]
 service = dbus.Interface(bus.get_object('net.connman', path),
                                        'net.connman.Service')
 
-path2 = "/profile/default/" + sys.argv[2]
+path2 = "/net/connman/service/" + sys.argv[2]
 service2 = dbus.Interface(bus.get_object('net.connman', path2),
                                        'net.connman.Service')