VirtualBox

Ignore:
Timestamp:
Nov 16, 2022 10:47:37 AM (2 years ago)
Author:
vboxsync
Message:

Validation Kit/Guest Control: Make sure (test) if the test VM's (guessed) path separator matches the (known) Guest Control guest path separator + use it for guest destination paths [pylint].

File:
1 edited

Legend:

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

    r97565 r97567  
    133133    def __init__(self, oCreds = None):
    134134        self.oGuest    = None;      ##< IGuest.
     135        self.oTestVm   = None;
    135136        self.oCreds    = oCreds     ##< type: tdCtxCreds
    136137        self.timeoutMS = 30 * 1000; ##< 30s timeout
     
    49164917            atTests.extend([
    49174918                # Copy the entire test tree:
    4918                 [ tdTestCopyToDir(sSrc = sScratchTreeDirHst, sDst = sScratchDstDir4Gst + oTestVm.pathSep()), tdTestResultSuccess() ],
     4919                [ tdTestCopyToDir(sSrc = sScratchTreeDirHst, sDst = sScratchDstDir4Gst + oTestVm.pathSep()),
     4920                  tdTestResultSuccess() ],
    49194921                # Again, should fail this time.
    4920                 [ tdTestCopyToDir(sSrc = sScratchTreeDirHst, sDst = sScratchDstDir4Gst + oTestVm.pathSep()), tdTestResultFailure() ],
     4922                [ tdTestCopyToDir(sSrc = sScratchTreeDirHst, sDst = sScratchDstDir4Gst + oTestVm.pathSep()),
     4923                  tdTestResultFailure() ],
    49214924                # Works again, as DirectoryCopyFlag_CopyIntoExisting is specified.
    49224925                [ tdTestCopyToDir(sSrc = sScratchTreeDirHst, sDst = sScratchDstDir4Gst + oTestVm.pathSep(),
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