summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2012-11-25 17:53:52 -0800
committerPatrick Ohly <patrick.ohly@intel.com>2012-11-25 18:02:06 -0800
commite13863daeca5c4d9bb3a18e61477f8598f5797a5 (patch)
tree32f696670f06437cfb3d774af8c962f7dba9bf79 /test
parentfe01bf0d87c81dddf189ec228aaca91d8969b09b (diff)
D-Bus testing: support ENV with = inside variable value
Found while (accidentally) setting an ENV variable with a = inside the value part: splitting into name and value may only split once, at the first equal sign.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-dbus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-dbus.py b/test/test-dbus.py
index f9812bcb..18a8103c 100755
--- a/test/test-dbus.py
+++ b/test/test-dbus.py
@@ -469,7 +469,7 @@ class DBusUtil(Timeout):
# set additional environment variables for the test run,
# as defined by @property("ENV", "foo=bar x=y")
for assignment in self.getTestProperty("ENV", "").split():
- var, value = assignment.split("=")
+ var, value = assignment.split("=", 1)
env[var] = value
# always print all debug output directly (no output redirection),