VirtualBox

Ignore:
Timestamp:
Aug 12, 2021 4:50:40 PM (3 years ago)
Author:
vboxsync
Message:

Audio/ValKit: Fixes for tdAudioTest.py to disable the guest and host firewalls to let VKAT / ATS through (and to not make the tests hang in such cases). ​bugref:10008

File:
1 edited

Legend:

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

    r90656 r90666  
    273273
    274274        if asArgs:
    275             fRc = self.txsRunTest(oTxsSession, 'Disabling guest firewall', \
     275            fRc = self.txsRunTest(oTxsSession, 'Disabling guest firewall', 3 * 60 * 1000, \
    276276                                  oTestVm.pathJoin(self.getGuestSystemDir(oTestVm), asArgs[0]), asArgs);
    277277            if not fRc:
     
    317317                    reporter.log(sLine);
    318318
    319                 iExitCode  = oProcess.poll();
    320                 if iExitCode != 0:
    321                     fRc = False;
     319                iExitCode = oProcess.poll();
     320                if iExitCode == 0:
     321                    fRc = True;
     322                else:
     323                    reporter.error('Disabling firewall on host returned exit code error %d' % iExitCode);
    322324            else:
    323325                fRc = False;
    324326
    325327            if not fRc:
    326                 reporter.error('Disabling firewall on host returned exit code error %d' % iExitCode);
     328                reporter.error('Disabling firewall on host failed');
    327329        else:
    328             reporter.log('Firewall not available on host, skipping ');
     330            reporter.log('Firewall not available on host, skipping');
    329331            fRc = True; # Not available, just skip.
    330332
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