Changeset 71671 in vbox
- Timestamp:
- Apr 5, 2018 8:45:50 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r71668 r71671 3347 3347 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\system32\\ole32.dll', 3348 3348 sDst = os.path.join(sScratch, 'renamedfile.dll')), 3349 tdTestResult(fRc = True) ], 3350 # Destination is a directory with a trailing slash (should work). 3351 # See "cp" syntax. 3352 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\system32\\ole32.dll', 3353 sDst = sScratch + "/"), 3354 tdTestResult(fRc = True) ], 3355 # Destination is a directory (should fail). 3356 # See "cp" syntax. 3357 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\system32\\ole32.dll', 3358 sDst = sScratch), 3359 tdTestResult(fRc = False) ] 3349 tdTestResult(fRc = True) ] 3360 3350 ]); 3351 3352 if self.oTstDrv.fpApiVer > 5.2: # Copying files into directories via Main is supported only in versions > 5.2. 3353 aaTests.extend([ 3354 # Destination is a directory with a trailing slash (should work). 3355 # See "cp" syntax. 3356 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\system32\\ole32.dll', 3357 sDst = sScratch + "/"), 3358 tdTestResult(fRc = True) ], 3359 # Destination is a directory (should fail). 3360 # See "cp" syntax. 3361 [ tdTestCopyFrom(sUser = sUser, sPassword = sPassword, sSrc = 'C:\\Windows\\system32\\ole32.dll', 3362 sDst = sScratch), 3363 tdTestResult(fRc = False) ] 3364 ]); 3361 3365 3362 3366 #
Note:
See TracChangeset
for help on using the changeset viewer.