]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
Added indigo fix for upgrade hotfixes
authorDan Lamping <daniel.lamping@citrix.com>
Sun, 22 Nov 2015 08:28:22 +0000 (08:28 +0000)
committerDan Lamping <daniel.lamping@citrix.com>
Sun, 22 Nov 2015 08:28:22 +0000 (08:28 +0000)
exec/testcases/xenserver/tc/upgrade.py

index d333074a1d6332f4e41649355eaefadbd37f98a0..1385e1b54d4f820e7c45cc28014a4c0c9e674cfc 100755 (executable)
@@ -1150,13 +1150,13 @@ class TCAutoInstaller(xenrt.TestCase):
     def prepare(self, arglist):
         self.host = self.getDefaultHost()
         for f in string.split(xenrt.TEC().lookup(["INSTALLER_PATCH", "INSTALLER"]), ","):
-            self.host.applyPatch(xenrt.TEC().getFile("xe-phase-1/" + f), returndata=True)
+            self.host.applyPatch(xenrt.TEC().getFile("xe-phase-1/" + f, "../xe-phase-1/" + f), returndata=True)
 
     def run(self, arglist):
         # Check that the image ISO exists
         imageName = xenrt.TEC().lookup("CARBON_CD_IMAGE_NAME", 'main.iso')
         xenrt.TEC().logverbose("Using XS install image name: %s" % (imageName))
-        cd = xenrt.TEC().getFile("xe-phase-1/%s" % (imageName), imageName)
+        cd = xenrt.TEC().getFile("xe-phase-1/%s" % (imageName), "../xe-phase-1/%s" % (imageName), imageName)
         xenrt.checkFileExists(cd)
 
         # Create a temp directory for the image