VirtualBox

Changeset 93719 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 14, 2022 11:14:51 AM (3 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Logging nits.

File:
1 edited

Legend:

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

    r93669 r93719  
    29032903                reporter.log('All blocking processes were terminated successfully');
    29042904
    2905             # There still should be 20 processes because we just terminated the 10 blocking ones above.
    29062905            try:    cProcs = len(self.oTstDrv.oVBoxMgr.getArray(oGuestSession, 'processes'));
    29072906            except: fRc    = reporter.errorXcpt();
    29082907            else:
    2909                 if cProcs != cProcsPerGroup * 2:
    2910                     fRc = reporter.error('Got %d total processes, expected %d (final)' % (cProcs, cProcsPerGroup));
     2908                # There still should be 20 processes because we just terminated the 10 blocking ones above.
     2909                cProcsExpected = cProcsPerGroup * 2;
     2910                if cProcs != cProcsExpected:
     2911                    fRc = reporter.error('Got %d total processes, expected %d (final)' % (cProcs, cProcsExpected));
    29112912                reporter.log2('Final guest session processes count: %d' % (cProcs,));
    29122913
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