VirtualBox

Ignore:
Timestamp:
Nov 14, 2022 6:11:04 PM (2 years ago)
Author:
vboxsync
Message:

Validation Kit/Guest Control: Don't report expected non-existing paths / files as an error.

File:
1 edited

Legend:

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

    r97440 r97537  
    17861786                oFile = open(sDst, 'rb');                       # pylint: disable=consider-using-with
    17871787            except:
    1788                 return reporter.errorXcpt('open(%s) failed during verfication' % (sDst,));
     1788                # Don't report expected non-existing paths / files as an error.
     1789                return reporter.maybeErrXcpt(fExpected, 'open(%s) failed during verfication (file / path not found)' % (sDst,));
    17891790            fEqual = oTest.oSrc.equalFile(oFile);
    17901791            oFile.close();
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