VirtualBox

Changeset 71646 in vbox


Ignore:
Timestamp:
Apr 4, 2018 9:52:21 AM (7 years ago)
Author:
vboxsync
Message:

Guest Control/Validation Kit: Log stale guest sessions.

File:
1 edited

Legend:

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

    r71631 r71646  
    20652065        # First batch: One session per guest process.
    20662066        #
     2067        reporter.log('One session per guest process ...');
    20672068        for (i, aTest) in enumerate(aaTests):
    20682069            curTest = aTest[0]; # tdTestExec, use an index, later.
     
    20822083        # No sessions left?
    20832084        if fRc is True:
    2084             cSessions = len(self.oTstDrv.oVBoxMgr.getArray(oSession.o.console.guest, 'sessions'));
     2085            aSessions = self.oTstDrv.oVBoxMgr.getArray(oSession.o.console.guest, 'sessions');
     2086            cSessions   = len(aSessions);
    20852087            if cSessions is not 0:
    2086                 reporter.error('Found %d stale session(s), expected 0' % (cSessions,));
     2088                reporter.error('Found %d stale session(s), expected 0:' % (cSessions,));
     2089                for (i, aSession) in enumerate(aSessions):
     2090                    reporter.log('\tStale session #%d ("%s")' % (aSession.id, aSession.name));
    20872091                fRc = False;
    20882092
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