]> xenbits.xensource.com Git - xenrt-citrix/xenrt.git/commitdiff
fixing some more cifs to smb
authorSyed Ahmad <syed.ahmad@citrix.com>
Fri, 6 Nov 2015 13:04:40 +0000 (13:04 +0000)
committerSyed Ahmad <syed.ahmad@citrix.com>
Fri, 6 Nov 2015 13:04:40 +0000 (13:04 +0000)
exec/testcases/xenserver/tc/storage.py
seqs/dundeesnapshotmetadatacifs.seq

index 796ece08bcd8be3a7a808fcfd703534be26de237..56e2c3112976cb63201f63c7dbbe2896e3227d2c 100755 (executable)
@@ -2771,22 +2771,22 @@ class TC8509(_TCResizeDataCheck):
 class TCCIFSVDIResizeShrink(_TCResizeShrink):
     """Attempting to shrink a CIFS VDI should fail with a suitable error."""
 
-    SRTYPE = "cifs"
+    SRTYPE = "smb"
 
 class TCCIFSVDIResizeGrowSmall(_TCResizeGrow):
     """Grow a CIFS VDI of a round size by 1 byte."""
 
-    SRTYPE = "cifs"
+    SRTYPE = "smb"
 
 class TCCIFSVDIResizeGrowLarge(_TCResizeGrow2):
     """Grow a CIFS VDI twice in large chunks."""
 
-    SRTYPE = "cifs"
+    SRTYPE = "smb"
 
 class TCCIFSVDIResizeDataCheck(_TCResizeDataCheck):
     """Data integrity of resized CIFS VDI."""
 
-    SRTYPE = "cifs"
+    SRTYPE = "smb"
     FORCEOFFLINE = True
 
 class TCFCOEVDIResizeGrowSmall(_TCResizeGrow):
@@ -2951,7 +2951,7 @@ class TC8525(_TCVDICreateRoundup):
 class TCCIFSOddSize(_TCVDICreateRoundup):
     """CIFS Odd size"""
 
-    SRTYPE = "cifs"
+    SRTYPE = "smb"
     
 class TCFCOEOddSize(_TCVDICreateRoundup):
     """FCoE SR Odd size"""
@@ -3734,7 +3734,7 @@ class TC10680(TC10671):
 class TCCIFSZeroedContents(TC10671):
     """CIFS Zeroed contents"""
 
-    SRTYPE = "cifs"
+    SRTYPE = "smb"
 
 class TCFCOEZeroedContents(TC10671):
     """FCoE SR Zeroed contents"""
@@ -5075,7 +5075,7 @@ class TCCIFSLifecycle(xenrt.TestCase):
         self.args = self.parseArgsKeyValue(arglist)
 
         self.host = self.getDefaultHost()
-        srtype = "cifs"
+        srtype = "smb"
 
         xsr = next((s for s in self.host.xapiObject.localSRs if s.srType == srtype), None)
         self.sr = xenrt.lib.xenserver.SMBStorageRepository.fromExistingSR(self.host, xsr.uuid)
index 412203a8cf146c6568ba1e67a542dd23172326b6..f9d1310d754381607208c013bab7c0e08250f713 100644 (file)
@@ -14,7 +14,7 @@
   <testsequence>
     <serial group="SnapshotMetaTests">
       <testcase id="xenserver.tc.snapshot.TC21699" name="TC21699.WithCIFs" sku="WithCIFs">
-        <arg>xapisrtype=cifs</arg>
+        <arg>xapisrtype=smb</arg>
       </testcase>
     </serial>
   </testsequence>