|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-ppc-devel
[XenPPC] [PATCH 9/10][TOOLS][XM-TEST] Default to appending to	"extra" in 
| 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@xxxxxxxxxxxxxxxxxx>
---
tools/xm-test/lib/XmTestLib/XenDomain.py |    3 +++
1 file changed, 3 insertions(+)
--- a/tools/xm-test/lib/XmTestLib/XenDomain.py  Thu Oct 19 12:14:50 2006 +1000
+++ b/tools/xm-test/lib/XmTestLib/XenDomain.py  Thu Oct 19 17:01:02 2006 +1000
@@ -97,6 +97,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
 
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
 | 
 
| <Prev in Thread] | Current Thread | [Next in Thread> |  | 
[XenPPC] [PATCH 9/10][TOOLS][XM-TEST] Default to appending to	"extra" in XenConfig,
Tony Breeds <=
 |  |  | 
  
    |  |  |