VirtualBox

Changeset 103238 in vbox for trunk/src


Ignore:
Timestamp:
Feb 7, 2024 10:59:38 AM (15 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161524
Message:

Validation Kit/tdAddGuestCtrl.py: More tweaks for older versions and guest OSes needed. bugref:10586

File:
1 edited

Legend:

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

    r103231 r103238  
    25732573                    self.processExecute(oGuestSession, self.sGstCtlHelperExe, asArgs2, sCwd, \
    25742574                                        asEnv, aeWaitFor, timeoutMS);
    2575                 if eExitStatus != vboxcon.TerminatedNormally:
     2575                if eExitStatus != vboxcon.ProcessStatus_TerminatedNormally:
    25762576                    reporter.log('VBoxGuestControlHelper failed to run; got exit status %d' % (eExitStatus,));
    25772577                    fRc = False;
    25782578            except:
    2579                 reporter.errorXcpt();
     2579                fRc = reporter.errorXcpt();
    25802580
    25812581        return (fRc, eExitStatus, iExitCode, cbStdOut, cbStdErr, sBuf);
     
    27192719        fRc = True;
    27202720
    2721         if  self.oTstDrv.fpApiVer >= 7.1 \
     2721        # Note: Starting with r161502 this should be fixed.
     2722        #       Session 0 separation started with Windows Vista, so skip everything older.
     2723        if  self.oTstDrv.uRevision >= 161502 \
    27222724        and oTestVm.isWindows() \
    2723         and oTestVm.sKind not in ('WindowsNT4', 'Windows2000',):
     2725        and oTestVm.sKind not in ('WindowsNT3x', 'WindowsNT4', 'Windows2000', 'WindowsXP'):
    27242726            reporter.testStart('Windows guest processes in session >= 1');
    27252727            # Test in which Windows session Guest Control processes are being started.
     
    27282730                self.executeGstCtlHelper(oTxsSession, oGuestSession, [ "show", "win-session-id" ]);
    27292731            if  fRc \
    2730             and eExitStatus == vboxcon.TerminatedNormally:
     2732            and eExitStatus == vboxcon.ProcessStatus_TerminatedNormally:
    27312733                if iExitCode >= 1000: # We report 1000 + <session ID> as exit code.
    27322734                    uSessionId = iExitCode - 1000;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette