summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>2012-03-06 12:45:14 (GMT)
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-06 17:25:59 (GMT)
commitb57b82c73c7d2e439440208783c0f142d590f8a6 (patch)
tree275de810b4f66c22308580fb8fdd58682a06e88a /test
parent78b8b4cddece374c7ea8b5419b6c36f9d81b2bb5 (diff)
downloadconnman-b57b82c73c7d2e439440208783c0f142d590f8a6.zip
connman-b57b82c73c7d2e439440208783c0f142d590f8a6.tar.gz
connman-b57b82c73c7d2e439440208783c0f142d590f8a6.tar.bz2
test: Support the possibility to input multiple parameters into simple-agent
Fixes BMC#24965
Diffstat (limited to 'test')
-rwxr-xr-xtest/simple-agent4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/simple-agent b/test/simple-agent
index d15b450..dac1fed 100755
--- a/test/simple-agent
+++ b/test/simple-agent
@@ -35,11 +35,9 @@ class Agent(dbus.service.Object):
if arg.startswith("Identity="):
identity = arg.replace("Identity=", "", 1)
response["Identity"] = identity
- break
if arg.startswith("Passphrase="):
passphrase = arg.replace("Passphrase=", "", 1)
response["Passphrase"] = passphrase
- break
if arg.startswith("WPS="):
wpspin = arg.replace("WPS=", "", 1)
response["WPS"] = wpspin
@@ -64,11 +62,9 @@ class Agent(dbus.service.Object):
if arg.startswith("Username="):
username = arg.replace("Username=", "", 1)
response["Username"] = username
- break
if arg.startswith("Password="):
password = arg.replace("Password=", "", 1)
response["Password"] = password
- break
else:
if self.username:
response["Username"] = self.username