VirtualBox

Ignore:
Timestamp:
Nov 6, 2022 1:47:51 PM (2 years ago)
Author:
vboxsync
Message:

Validation Kit/Guest Control: More tests [pylint]. ​bugref:10286

File:
1 edited

Legend:

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

    r97421 r97422  
    50545054                # This should fail, as sScratchHst exists and is a directory.
    50555055                [ tdTestCopyFromFile(oSrc = oExistingFileGst, sDst = sScratchHst), tdTestResultFailure() ],
    5056                 # Same existing host directory, but this time with a trailing slash. 
     5056                # Same existing host directory, but this time with a trailing slash.
    50575057                # This should succeed, as the file isn't there yet on the destination.
    50585058                [ tdTestCopyFromFile(oSrc = oExistingFileGst, sDst = sScratchHst + os.path.sep), tdTestResultSuccess() ],
     
    50865086                                    afFlags = [ vboxcon.DirectoryCopyFlag_CopyIntoExisting, ]), tdTestResultSuccess() ],
    50875087                # Copy with a different destination name just for the heck of it:
    5088                 [ tdTestCopyFromDir(sSrc = oEmptyDirGst.sPath, sDst = os.path.join(sScratchDstDir2Hst, 'empty2'), 
     5088                [ tdTestCopyFromDir(sSrc = oEmptyDirGst.sPath, sDst = os.path.join(sScratchDstDir2Hst, 'empty2'),
    50895089                                    fIntoDst = True),
    50905090                  tdTestResultSuccess() ],
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