VirtualBox

Ignore:
Timestamp:
Feb 22, 2022 5:34:57 PM (3 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Added another assertion to check if the host directory tree really is there before attempting to run any copy-to-guest tests.

File:
1 edited

Legend:

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

    r93817 r93889  
    47524752            return reporter.error('Filed to write test files to "%s" on the host!' % (sScratchHst,));
    47534753
     4754        # If for whatever reason the directory tree does not exist on the host, let us know.
     4755        # Copying an non-existing tree *will* fail the tests which otherwise should succeed!
     4756        assert os.path.exists(sScratchTreeDirHst);
     4757
    47544758        # Generate a test file in 32MB to 64 MB range.
    47554759        sBigFileHst  = os.path.join(self.oTstDrv.sScratchPath, 'gctrl-random.data');
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