VirtualBox

Ignore:
Timestamp:
Aug 12, 2021 10:27:14 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146263
Message:

Audio/ValKit: Added initial support to tdAudioTest.py to disable the guest and host firewalls to let VKAT / ATS through (and to not make the tests hang in such cases) [pylint]. ​bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/audio/tdAudioTest.py

    r90646 r90651  
    271271        reporter.log('Disabling firewall on guest (type: %s) ...' % (sOsType,));
    272272
    273         if len(asArgs) > 0:
     273        if asArgs:
    274274            fRc = self.txsRunTest(oTxsSession, 'Disabling guest firewall', \
    275275                                  oTestVm.pathJoin(self.getGuestSystemDir(oTestVm), asArgs[0]), asArgs);
     
    302302            asArgs = self.getWinFirewallArgsDisable('vista');
    303303
    304         if len(asArgs) > 0:
     304        if asArgs:
    305305            oProcess = utils.sudoProcessPopen(asArgs, stdout=subprocess.PIPE, stdin=subprocess.PIPE,
    306306                                              stderr=subprocess.PIPE, shell = False, close_fds = False);
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