Changeset 72169 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- May 8, 2018 4:55:20 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r72112 r72169 3160 3160 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = ''), 3161 3161 tdTestResult(fRc = False) ], 3162 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = ' C:\\Windows',3162 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = '/placeholder', 3163 3163 aFlags = [ 80 ] ), 3164 3164 tdTestResult(fRc = False) ], … … 3166 3166 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sDst = ''), 3167 3167 tdTestResult(fRc = False) ], 3168 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sDst = ' C:\\Windows',3168 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sDst = '/placeholder', 3169 3169 aFlags = [ 80 ] ), 3170 3170 tdTestResult(fRc = False) ], … … 3221 3221 ]); 3222 3222 3223 if oTestVm.isWindows(): 3224 aaTests.extend([ 3225 # Copy the same file over to the guest, but this time store the file into the former 3226 # file's ADS (Alternate Data Stream). Only works on Windows, of course. 3227 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = sVBoxValidationKitISO, 3228 sDst = os.path.join(sScratchGst, 'HostGuestAdditions.iso:ADS-Test')), 3229 tdTestResult(fRc = True) ] 3230 ]); 3223 aaTests.extend([ 3224 # Copy the same file over to the guest, but this time store the file into the former 3225 # file's ADS (Alternate Data Stream). Only works on Windows, of course. 3226 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = sVBoxValidationKitISO, 3227 sDst = os.path.join(sScratchGst, 'HostGuestAdditions.iso:ADS-Test')), 3228 tdTestResult(fRc = True) ] 3229 ]); 3231 3230 3232 3231 # … … 3235 3234 if self.oTstDrv.fpApiVer > 5.2: # Copying directories via Main is supported only in versions > 5.2. 3236 3235 if self.oTstDrv.sHost == "win": 3236 sSystemRoot = os.getenv('SystemRoot', 'C:\\Windows') 3237 3237 aaTests.extend([ 3238 3238 # Copying directories with contain files we don't have read access to. 3239 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\security', 3240 sDst = sScratchGst, aFlags = [ vboxcon.DirectoryCopyFlag_CopyIntoExisting ]), 3241 tdTestResult(fRc = False) ], 3239 ## @todo r=klaus disabled, because this can fill up the guest disk, making other tests fail, 3240 ## additionally it's not really clear if this fails reliably on all Windows versions, even 3241 ## the old ones like XP with a "proper" administrator. 3242 #[ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = os.path.join(sSystemRoot, 'security', 3243 # sDst = sScratchGst, aFlags = [ vboxcon.DirectoryCopyFlag_CopyIntoExisting ]), 3244 # tdTestResult(fRc = False) ], 3242 3245 # Copying directories with regular files. 3243 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\Help',3246 [ tdTestCopyTo(sUser = sUser, sPassword = sPassword, sSrc = os.path.join(sSystemRoot, 'Help', 3244 3247 sDst = sScratchGst, aFlags = [ vboxcon.DirectoryCopyFlag_CopyIntoExisting ]), 3245 3248 tdTestResult(fRc = True) ]
Note:
See TracChangeset
for help on using the changeset viewer.