Changeset 83515 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Apr 2, 2020 4:17:03 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r83511 r83515 1789 1789 except Exception as oXcpt: 1790 1790 if vbox.ComError.notEqual(oXcpt, vbox.ComError.VBOX_E_OBJECT_NOT_FOUND): 1791 reporter.errorXcpt('Error reading directory "%s":' % (sCurDir,)); 1791 if oTstDrv.fpApiVer > 5.2: 1792 reporter.errorXcpt('Error reading directory "%s":' % (sCurDir,)); 1793 else: 1794 # Unlike fileOpen, directoryOpen will not fail if the directory does not exist. 1795 reporter.maybeErrXcpt(fIsError, 'Error reading directory "%s":' % (sCurDir,)); 1792 1796 fRc = False; 1793 1797 else: … … 3744 3748 [ tdTestFileOpen(sFile = oTestVm.pathJoin(sTempDir, 'no-such-dir', 'no-such-file')), tdTestResultFailure() ], 3745 3749 ]; 3746 atTests.extend([ 3747 # Wrong type: 3748 [ tdTestFileOpen(sFile = self.getGuestTempDir(oTestVm)), tdTestResultFailure() ], 3749 [ tdTestFileOpen(sFile = self.getGuestSystemDir(oTestVm)), tdTestResultFailure() ], 3750 ]); 3750 if self.oTstDrv.fpApiVer > 5.2: # Fixed since 6.0. 3751 atTests.extend([ 3752 # Wrong type: 3753 [ tdTestFileOpen(sFile = self.getGuestTempDir(oTestVm)), tdTestResultFailure() ], 3754 [ tdTestFileOpen(sFile = self.getGuestSystemDir(oTestVm)), tdTestResultFailure() ], 3755 ]); 3751 3756 atTests.extend([ 3752 3757 # O_EXCL and such:
Note:
See TracChangeset
for help on using the changeset viewer.