diff options
author | Mikel Astiz <mikel.astiz@bmw-carit.de> | 2012-05-21 11:07:09 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2012-05-23 11:30:46 +0300 |
commit | fa8c2e8f8ba57275a9a59f6c6653595852d26e85 (patch) | |
tree | 6917874cc556b685945727e1637335a6ec98f236 /test | |
parent | 64fbefb6aa4ee66ead3be5397657b896265eaa7a (diff) | |
download | obexd-fa8c2e8f8ba57275a9a59f6c6653595852d26e85.tar.gz |
client-test: Replace SendFiles with SendFile
The test script still accepts several files in the argument list and
internally uses a loop to individually send them with SendFile.
Diffstat (limited to 'test')
-rwxr-xr-x | test/send-files | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/send-files b/test/send-files index 504a066..aa4862f 100755 --- a/test/send-files +++ b/test/send-files @@ -20,4 +20,5 @@ session_path = client.CreateSession({"Destination": sys.argv[1], opp = dbus.Interface(bus.get_object("org.openobex.client", session_path), "org.openobex.ObjectPush") -opp.SendFiles(files) +for f in files: + opp.SendFile(f) |