Changeset 83295 in vbox for trunk/src/VBox/ValidationKit/tests/additions
- Timestamp:
- Mar 16, 2020 9:12:59 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 136462
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r82968 r83295 4390 4390 [ tdTestCopyToFile(sDst = oTestVm.pathJoin(sScratchGst, 'dstfile')), tdTestResultFailure() ], 4391 4391 [ tdTestCopyToDir( sDst = sScratchGst), tdTestResultFailure() ], 4392 # Both given, but invalid flags. 4393 [ tdTestCopyToFile(sSrc = sBigFileHst, sDst = sScratchGst, afFlags = [ 0x40000000] ), tdTestResultFailure() ], 4394 [ tdTestCopyToDir( sSrc = sScratchEmptyDirHst, sDst = sScratchGst, afFlags = [ 0x40000000] ), 4395 tdTestResultFailure() ], 4392 4396 ]; 4393 if not self.fSkipKnownBugs:4394 atTests.extend([4395 ## @todo Apparently Main doesn't check the flags, so the first test succeeds.4396 # Both given, but invalid flags.4397 [ tdTestCopyToFile(sSrc = sBigFileHst, sDst = sScratchGst, afFlags = [ 0x40000000] ), tdTestResultFailure() ],4398 [ tdTestCopyToDir( sSrc = sScratchEmptyDirHst, sDst = sScratchGst, afFlags = [ 0x40000000] ),4399 tdTestResultFailure() ],4400 ]);4401 4397 atTests.extend([ 4402 4398 # Non-existing source, but no destination: … … 4577 4573 [ tdTestCopyFromFile(oSrc = oExistingFileGst), tdTestResultFailure() ], 4578 4574 [ tdTestCopyFromDir( sSrc = self.oTestFiles.oManyDir.sPath), tdTestResultFailure() ], 4579 ## 4580 ## @todo main isn't validating flags, so these theses will succeed. 4581 ## 4582 ## Invalid flags: 4583 #[ tdTestCopyFromFile(oSrc = oExistingFileGst, sDst = os.path.join(sScratchHst, 'somefile'), afFlags = [0x40000000]), 4584 # tdTestResultFailure() ], 4585 #[ tdTestCopyFromDir( oSrc = oEmptyDirGst, sDst = os.path.join(sScratchHst, 'somedir'), afFlags = [ 0x40000000] ), 4586 # tdTestResultFailure() ], 4575 # Invalid flags: 4576 [ tdTestCopyFromFile(oSrc = oExistingFileGst, sDst = os.path.join(sScratchHst, 'somefile'), afFlags = [0x40000000]), 4577 tdTestResultFailure() ], 4578 [ tdTestCopyFromDir( oSrc = oEmptyDirGst, sDst = os.path.join(sScratchHst, 'somedir'), afFlags = [ 0x40000000] ), 4579 tdTestResultFailure() ], 4587 4580 # Non-existing sources: 4588 4581 [ tdTestCopyFromFile(sSrc = oTestVm.pathJoin(self.oTestFiles.oRoot.sPath, 'no-such-file-or-directory'),
Note:
See TracChangeset
for help on using the changeset viewer.