VirtualBox

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

Validation Kit/tdAddGuestCtrl.py: Expand the resolved path within locateGstBinary() so that it can be found by the Guest Control session as well. Pylint fixes. bugref:10586

File:
1 edited

Legend:

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

    r103201 r103209  
    16261626        for sCurPath in asPaths:
    16271627            reporter.log2('Checking for \"%s\" ...' % (sCurPath));
    1628             if self.oTstDrv.txsIsFile(oSession, oTxsSession, sCurPath, fIgnoreErrors = True):
    1629                 return (True, sCurPath);
     1628            if oTxsSession.syncIsFile(sCurPath, fIgnoreErrors = True):
     1629                return (True, oTxsSession.syncExpandString(sCurPath));
    16301630        reporter.error('Unable to find guest binary in any of these places:\n%s' % ('\n'.join(asPaths),));
    16311631        return (False, "");
     
    23882388            return reporter.error('oProcess is None! (%s)' % (asArgs,));
    23892389
    2390         fRc = True;
     2390        fRc         = True;
     2391        uExitStatus = vboxcon.ProcessStatus_Undefined;
     2392        iExitCode   = -1;
     2393        cbStdOut    = 0;
     2394        cbStdErr    = 0;
     2395        sBufOut     = '';
    23912396
    23922397        #time.sleep(5); # try this if you want to see races here.
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