Changeset 55818 in vbox
- Timestamp:
- May 12, 2015 10:00:06 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r55082 r55818 9 9 __copyright__ = \ 10 10 """ 11 Copyright (C) 2010-201 4Oracle Corporation11 Copyright (C) 2010-2015 Oracle Corporation 12 12 13 13 This file is part of VirtualBox Open Source Edition (OSE), as … … 1781 1781 else: 1782 1782 reporter.log(" Session PID: %u (%#x)" % (oVM.sessionPid, oVM.sessionPid)); 1783 reporter.log(" Session Type: %s" % (oVM.sessionType)); 1783 if self.fpApiVer >= 5.0: 1784 reporter.log(" Session Name: %s" % (oVM.sessionName)); 1785 else: 1786 reporter.log(" Session Name: %s" % (oVM.sessionType)); 1784 1787 reporter.log(" CPUs: %s" % (oVM.CPUCount)); 1785 1788 reporter.log(" RAM: %sMB" % (oVM.memorySize)); … … 2220 2223 try: 2221 2224 eCurState = oVM.sessionState; 2222 sCurType = sOrgType = oVM.sessionType; 2225 if self.fpApiVer >= 5.0: 2226 sCurName = sOrgName = oVM.sessionName; 2227 else: 2228 sCurName = sOrgName = oVM.sessionType; 2223 2229 if self.fpApiVer >= 4.2: 2224 2230 iCurPid = iOrgPid = oVM.sessionPID; … … 2234 2240 msStart = base.timestampMilli(); 2235 2241 while iCurPid == iOrgPid \ 2236 and sCur Type == sOrgType \2237 and sCur Type != '' \2242 and sCurName == sOrgName \ 2243 and sCurName != '' \ 2238 2244 and base.timestampMilli() - msStart < cMsTimeout \ 2239 2245 and ( eCurState == vboxcon.SessionState_Unlocking \ … … 2243 2249 try: 2244 2250 eCurState = oVM.sessionState; 2245 sCur Type =oVM.sessionType;2251 sCurName = oVM.sessionName if self.fpApiVer >= 5.0 else oVM.sessionType; 2246 2252 iCurPid = oVM.sessionPID if self.fpApiVer >= 4.2 else oVM.sessionPid; 2247 2253 except Exception, oXcpt:
Note:
See TracChangeset
for help on using the changeset viewer.

