Changeset 79133 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Jun 13, 2019 3:27:38 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r79132 r79133 1236 1236 cOthers = 0; # Other files. 1237 1237 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 1239 1244 # 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 #1244 1245 #reporter.log2('Directory="%s", filter="%s", fFlags="%s"' % (sCurDir, sFilter, fFlags)); 1245 1246 try: … … 1255 1256 except Exception as oXcpt: 1256 1257 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 ## 1257 1262 reporter.maybeErrXcpt(fIsError, 'Error reading directory "%s":' % (sCurDir,)); # See above why 'maybe'. 1258 1263 fRc = False;
Note:
See TracChangeset
for help on using the changeset viewer.