VirtualBox

Ignore:
Timestamp:
Feb 6, 2024 12:50:04 PM (12 months ago)
Author:
vboxsync
Message:

Validation Kit/tdAddGuestCtrl.py: Fixes for handling tuples. bugref:10586

File:
1 edited

Legend:

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

    r103219 r103225  
    23842384        except:
    23852385            reporter.maybeErrXcpt(fIsError, 'type=%s, asArgs=%s' % (type(asArgs), asArgs,));
    2386             return False;
     2386            return (False, vboxcon.ProcessStatus_Undefined, 0, 0, 0, '');
    23872387        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, '');
    23892390
    23902391        fRc         = True;
     
    25082509            fRc = reporter.errorXcpt('asArgs=%s' % (asArgs,));
    25092510        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);
    25112512
    25122513    def gctrlExecute(self, oTest, oGuestSession, fIsError):                     # pylint: disable=too-many-statements
     
    25352536
    25362537        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, \
    25382539                                oTest.aEnv, oTest.afFlags, oTest.timeoutMS, fIsError);
    25392540
     
    25702571
    25712572                fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf = \
    2572                     self.processExecute(oGuestSession, self.sGstCtlHelperExe, asArgs2, sCwd,
     2573                    self.processExecute(oGuestSession, self.sGstCtlHelperExe, asArgs2, sCwd, \
    25732574                                        asEnv, aeWaitFor, timeoutMS);
    25742575                if eExitStatus != vboxcon.TerminatedNormally:
     
    25782579                reporter.errorXcpt();
    25792580
    2580         return fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf;
     2581        return (fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf);
    25812582
    25822583    def testGuestCtrlSessionEnvironment(self, oSession, oTxsSession, oTestVm): # pylint: disable=too-many-locals
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