Changeset 72081 in vbox for trunk/src/VBox
- Timestamp:
- May 2, 2018 12:19:55 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r72068 r72081 3120 3120 if oTestVm.isWindows(): 3121 3121 sUser = "Administrator"; 3122 sScratchGst = "C:\\Temp\\vboxtest\\testGuestCtrlCopyTo /";3122 sScratchGst = "C:\\Temp\\vboxtest\\testGuestCtrlCopyTo\\"; 3123 3123 sScratchGstNotExist = "C:\\does-not-exist\\"; 3124 3124 sScratchGstInvalid = "?*|invalid-name?*|"; … … 3306 3306 sPassword = "password"; 3307 3307 3308 sScratchHst = os.path.join(self.oTstDrv.sScratchPath, "testGctrlCopyFrom"); 3309 3308 3310 if self.oTstDrv.sHost == "win": 3309 sScratchHstInvalid = "?*|invalid-name?*|"; 3311 sScratchHstNotExist = sScratchHst + "\\does-not-exist\\"; 3312 sScratchHstInvalid = "?*|invalid-name?*|"; 3310 3313 else: 3311 sScratchHst Invalid = "/";3312 3313 sScratchHst = os.path.join(self.oTstDrv.sScratchPath, "testGctrlCopyFrom"); 3314 sScratchHstNotExist = sScratchHst + "/does-not-exist/"; 3315 sScratchHstInvalid = "/"; 3316 3314 3317 try: 3315 3318 os.makedirs(sScratchHst); … … 3386 3389 # Destination is a non-existing directory. 3387 3390 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\system32\\ole32.dll', 3388 sDst = sScratchHst + "/non-existing-directory/"),3391 sDst = sScratchHstNotExist), 3389 3392 tdTestResult(fRc = False) ] 3390 3393 ]); … … 3414 3417 # Copying contents of directories into a non-existing directory chain on the host which fail. 3415 3418 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\Web\\', 3416 sDst = sScratchHst + "/not/existing/",3419 sDst = sScratchHstNotExist, 3417 3420 aFlags = [ vboxcon.DirectoryCopyFlag_CopyIntoExisting ]), 3418 3421 tdTestResult(fRc = False) ], 3419 3422 # Copying contents of directories into a non-existing directory on the host, which should succeed. 3420 3423 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\Web\\', 3421 sDst = sScratchHst + "/no-existing/",3424 sDst = sScratchHstNotExist, 3422 3425 aFlags = [ vboxcon.DirectoryCopyFlag_CopyIntoExisting ]), 3423 3426 tdTestResult(fRc = True) ]
Note:
See TracChangeset
for help on using the changeset viewer.