VirtualBox

Changeset 65209 in vbox for trunk/src


Ignore:
Timestamp:
Jan 9, 2017 2:43:48 PM (8 years ago)
Author:
vboxsync
Message:

testdriver/base.py: Temporarily log add pidFile* operations.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/base.py

    r65199 r65209  
    11681168        Adds a PID to the PID file, creating the file if necessary.
    11691169        """
    1170         _ = fSudo; ## @todo remember sudo (root) children.
    11711170        try:
    11721171            oFile = utils.openNoInherit(self.sPidFile, 'a');
     
    11791178            reporter.errorXcpt();
    11801179            return False;
    1181         reporter.log2('pidFileAdd: added PID %d (new content: %s)' % (iPid, self.pidFileRead(),));
     1180        ## @todo s/log/log2/
     1181        reporter.log('pidFileAdd: added %s (%#x) %s fSudo=%s (new content: %s)'
     1182                     % (iPid, iPid, sName, fSudo, self.pidFileRead(),));
    11821183        return True;
    11831184
     
    12061207            reporter.errorXcpt();
    12071208            return False;
    1208 
    1209         reporter.log2('pidFileRemove: removed PID %d [%s] (new content: %s)' % (iPid, sName, self.pidFileRead(),));
     1209        ## @todo s/log/log2/
     1210        reporter.log('pidFileRemove: removed PID %d [%s] (new content: %s)' % (iPid, sName, self.pidFileRead(),));
    12101211        return True;
    12111212
     
    12181219                reporter.logXcpt();
    12191220                return False;
     1221            ## @todo s/log/log2/
     1222            reporter.log('pidFileDelete: deleted "%s"' % (self.sPidFile,));
    12201223        return True;
    12211224
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