VirtualBox

Ignore:
Timestamp:
Mar 17, 2020 1:55:31 PM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/Guest Control: Enabled the directoryExists testcases in testGuestCtrlFileStat by default.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r83308 r83310  
    36883688                    fRc = reporter.error('sPath=%s type=%s: fileExists returned %s, expected %s!'
    36893689                                         % (oFsObj.sPath, type(oFsObj), fExistsResult, fFileExists));
    3690 
    3691             if not self.fSkipKnownBugs: ## @todo At least two different failures here.
    3692                 try:
    3693                     fExistsResult = oGuestSession.directoryExists(oFsObj.sPath, False);
    3694                 except:
    3695                     fRc = reporter.errorXcpt('sPath=%s type=%s: directoryExists trouble!' % (oFsObj.sPath, type(oFsObj),));
    3696                 else:
    3697                     if fExistsResult != fDirExists:
    3698                         fRc = reporter.error('sPath=%s type=%s: directoryExists returned %s, expected %s!'
    3699                                              % (oFsObj.sPath, type(oFsObj), fExistsResult, fDirExists));
     3690            try:
     3691                fExistsResult = oGuestSession.directoryExists(oFsObj.sPath, False);
     3692            except:
     3693                fRc = reporter.errorXcpt('sPath=%s type=%s: directoryExists trouble!' % (oFsObj.sPath, type(oFsObj),));
     3694            else:
     3695                if fExistsResult != fDirExists:
     3696                    fRc = reporter.error('sPath=%s type=%s: directoryExists returned %s, expected %s!'
     3697                                            % (oFsObj.sPath, type(oFsObj), fExistsResult, fDirExists));
    37003698
    37013699        fRc = oTest.closeSession() and fRc;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette