VirtualBox

Ignore:
Timestamp:
Jun 24, 2020 12:49:07 PM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddGuestCtrl.py: Skip empty sources in gctrlCopyDirFrom().

File:
1 edited

Legend:

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

    r84927 r84928  
    18061806        Helper function to copy a directory from the guest to the host.
    18071807        """
     1808
     1809        # As we pass-in randomly generated directories, the source sometimes can be empty, which
     1810        # in turn will result in a (correct) error by the API. Simply skip this function then.
     1811        if not oTest.sSrc:
     1812            reporter.log2('Skipping guest dir "%s"' % (limitString(oTest.sSrc)));
     1813            return True;
     1814
    18081815        #
    18091816        # Do the copying.
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