Changeset 103201 in vbox for trunk/src/VBox/ValidationKit/tests
- Timestamp:
- Feb 5, 2024 11:39:49 AM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 161468
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r103200 r103201 1626 1626 for sCurPath in asPaths: 1627 1627 reporter.log2('Checking for \"%s\" ...' % (sCurPath)); 1628 if self. txsIsFile(oSession, oTxsSession, sCurPath, fIgnoreErrors = True):1628 if self.oTstDrv.txsIsFile(oSession, oTxsSession, sCurPath, fIgnoreErrors = True): 1629 1629 return (True, sCurPath); 1630 1630 reporter.error('Unable to find guest binary in any of these places:\n%s' % ('\n'.join(asPaths),)); … … 2535 2535 return fRc; 2536 2536 2537 def executeGstCtlHelper(self, oSession, oTxsSession, oGuestSession, asArgs, asEnv = [], sCwd = '', timeoutMS = 30 * 1000):2537 def executeGstCtlHelper(self, oSession, oTxsSession, oGuestSession, asArgs, asEnv = None, sCwd = '', timeoutMS = 30 * 1000): 2538 2538 """ 2539 2539 Wrapper to invoke the Guest Control Helper on the guest. … … 2558 2558 asArgs2 = [ self.sGstCtlHelperExe ]; 2559 2559 asArgs2.append(asArgs); # Always set argv0. 2560 if not asEnv: 2561 asEnv = []; 2560 2562 aeWaitFor = [ vboxcon.ProcessWaitForFlag_Terminate, \ 2561 2563 vboxcon.ProcessWaitForFlag_StdOut, \ … … 2714 2716 # Test in which Windows session Guest Control processes are being started. 2715 2717 # We don't want them to be started in session 0, as this would prevent desktop interaction and other stuff. 2716 fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf= \2718 fRc, eExitStatus, iExitCode, _, _, _ = \ 2717 2719 self.executeGstCtlHelper(oSession, oTxsSession, oGuestSession, [ "show", "win-session-id" ]); 2718 2720 if fRc \
Note:
See TracChangeset
for help on using the changeset viewer.