aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xm-test/lib
diff options
context:
space:
mode:
authorEwan Mellor <ewan@xensource.com>2006-10-23 10:17:10 +0100
committerEwan Mellor <ewan@xensource.com>2006-10-23 10:17:10 +0100
commitc4549d574a762d04f9cb0a130408d6591d291efb (patch)
tree1dce193aad1c4f4bb53bf241d05ae7604587e69a /tools/xm-test/lib
parent0d688bfee403a98f1c96274f868f83fca40f21a2 (diff)
downloadxen-c4549d574a762d04f9cb0a130408d6591d291efb.tar.gz
xen-c4549d574a762d04f9cb0a130408d6591d291efb.tar.bz2
xen-c4549d574a762d04f9cb0a130408d6591d291efb.zip
Default to appending to "extra" in XenConfig.
PowerPC needs console information from the command line. Resetting the whole command line causes false failures. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Diffstat (limited to 'tools/xm-test/lib')
-rw-r--r--tools/xm-test/lib/XmTestLib/XenDomain.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xm-test/lib/XmTestLib/XenDomain.py b/tools/xm-test/lib/XmTestLib/XenDomain.py
index 0a47a98089..40aaebf9b4 100644
--- a/tools/xm-test/lib/XmTestLib/XenDomain.py
+++ b/tools/xm-test/lib/XmTestLib/XenDomain.py
@@ -102,6 +102,9 @@ class XenConfig:
if name in self.opts.keys() and isinstance(self.opts[name] ,
list) and not isinstance(value, list):
self.opts[name] = [value]
+ # "extra" is special so append to it.
+ elif name == "extra" and name in self.opts.keys():
+ self.opts[name] += " %s" % (value)
else:
self.opts[name] = value