VirtualBox

Changeset 79133 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jun 13, 2019 3:27:38 PM (6 years ago)
Author:
vboxsync
Message:

tdAddGuestCtrl.py,Main: Added @todos for incorrect directoryOpen behavior. bugref:9320

File:
1 edited

Legend:

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

    r79132 r79133  
    12361236        cOthers  = 0;    # Other files.
    12371237
    1238         #
     1238        ##
     1239        ## @todo r=bird: Unlike fileOpen, directoryOpen will not fail if the directory does not exist.
     1240        ##       This is of course a bug in the implementation, as it is documented to return
     1241        ##       VBOX_E_OBJECT_NOT_FOUND or VBOX_E_IPRT_ERROR!
     1242        ##
     1243
    12391244        # Open the directory:
    1240         #
    1241         # Note! Unlike fileOpen, directoryOpen will not fail if the directory does not exist.
    1242         #       Looks like it won't do nothing till you read from it.
    1243         #
    12441245        #reporter.log2('Directory="%s", filter="%s", fFlags="%s"' % (sCurDir, sFilter, fFlags));
    12451246        try:
     
    12551256            except Exception as oXcpt:
    12561257                if vbox.ComError.notEqual(oXcpt, vbox.ComError.VBOX_E_OBJECT_NOT_FOUND):
     1258                    ##
     1259                    ## @todo r=bird: Change this to reporter.errorXcpt() once directoryOpen() starts
     1260                    ##       working the way it is documented.
     1261                    ##
    12571262                    reporter.maybeErrXcpt(fIsError, 'Error reading directory "%s":' % (sCurDir,)); # See above why 'maybe'.
    12581263                    fRc = False;
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