VirtualBox

Changeset 86442 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Oct 4, 2020 12:08:27 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
140745
Message:

testdriver/base.py: Don't modify self.asActions or self.asNormalActions, copy them before making making modifications, otherwise vboxinstaller.py gets confused (unless action = all). bugref:9841

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/base.py

    r84946 r86442  
    16601660        """
    16611661
    1662         # parse the arguments.
     1662        #
     1663        # Parse the arguments.
     1664        #
    16631665        if asArgs is None:
    16641666            asArgs = list(sys.argv);
     
    16901692            return rtexitcode.RTEXITCODE_SYNTAX;
    16911693
    1692         # execte the actions.
     1694        #
     1695        # Execte the actions.
     1696        #
    16931697        fRc = True;         # Tristate - True (success), False (failure), None (skipped).
    1694         asActions = self.asActions;
     1698        asActions = list(self.asActions); # Must copy it or vboxinstaller.py breaks.
    16951699        if 'extract' in asActions:
    16961700            reporter.log('*** extract action ***');
     
    17591763            fRc = False;
    17601764
    1761         # Done
     1765        #
     1766        # Done - report the final result.
     1767        #
    17621768        if fRc is None:
    17631769            if self.fBadTestbox:
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette