VirtualBox

Ignore:
Timestamp:
Aug 12, 2021 10:54:12 AM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
146267
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

    r90653 r90655  
    239239        If not supported, returns an empty array.
    240240        """
    241         if   sOsType == 'vista': # Vista and up.
     241        if   sOsType == 'vista': # pylint: disable=no-else-return
     242             # Vista and up.
    242243            return (['netsh', 'advfirewall', 'set', 'allprofiles', 'state', 'off']);
    243         elif sOsType == 'xp':   # pylint: disable=no-else-return
    244             # Older stuff (XP / 2003).
     244        elif sOsType == 'xp':   # Older stuff (XP / 2003).
    245245            return(['netsh', 'firewall', 'set', 'opmode', 'mode=DISABLE']);
    246246        # Not supported / available.
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