Changeset 103225 in vbox
- Timestamp:
- Feb 6, 2024 12:50:04 PM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r103219 r103225 2384 2384 except: 2385 2385 reporter.maybeErrXcpt(fIsError, 'type=%s, asArgs=%s' % (type(asArgs), asArgs,)); 2386 return False;2386 return (False, vboxcon.ProcessStatus_Undefined, 0, 0, 0, ''); 2387 2387 if oProcess is None: 2388 return reporter.error('oProcess is None! (%s)' % (asArgs,)); 2388 reporter.error('oProcess is None! (%s)' % (asArgs,)); 2389 return (False, vboxcon.ProcessStatus_Undefined, 0, 0, 0, ''); 2389 2390 2390 2391 fRc = True; … … 2508 2509 fRc = reporter.errorXcpt('asArgs=%s' % (asArgs,)); 2509 2510 reporter.log2('Process (PID %d) has exit code: %d; status: %d ' % (iPid, iExitCode, uExitStatus)); 2510 return fRc, uExitStatus, iExitCode, cbStdOut, cbStdErr, sBufOut;2511 return (fRc, uExitStatus, iExitCode, cbStdOut, cbStdErr, sBufOut); 2511 2512 2512 2513 def gctrlExecute(self, oTest, oGuestSession, fIsError): # pylint: disable=too-many-statements … … 2535 2536 2536 2537 fRc, oTest.uExitStatus, oTest.iExitCode, oTest.cbStdOut, oTest.cbStdErr, oTest.sBuf = \ 2537 self.processExecute(oGuestSession, oTest.sCmd, oTest.asArgs, oTest.sCwd, 2538 self.processExecute(oGuestSession, oTest.sCmd, oTest.asArgs, oTest.sCwd, \ 2538 2539 oTest.aEnv, oTest.afFlags, oTest.timeoutMS, fIsError); 2539 2540 … … 2570 2571 2571 2572 fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf = \ 2572 self.processExecute(oGuestSession, self.sGstCtlHelperExe, asArgs2, sCwd, 2573 self.processExecute(oGuestSession, self.sGstCtlHelperExe, asArgs2, sCwd, \ 2573 2574 asEnv, aeWaitFor, timeoutMS); 2574 2575 if eExitStatus != vboxcon.TerminatedNormally: … … 2578 2579 reporter.errorXcpt(); 2579 2580 2580 return fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf;2581 return (fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf); 2581 2582 2582 2583 def testGuestCtrlSessionEnvironment(self, oSession, oTxsSession, oTestVm): # pylint: disable=too-many-locals
Note:
See TracChangeset
for help on using the changeset viewer.