Changeset 65838 in vbox for trunk/src/VBox
- Timestamp:
- Feb 21, 2017 10:24:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py
r65730 r65838 542 542 self.oConsoleEventHandler = None; 543 543 self.uPid = None; 544 self.fPidFile = True; 544 545 self.fHostMemoryLow = False; # see signalHostMemoryLow; read-only for outsiders. 545 546 … … 866 867 reporter.logXcpt(); 867 868 868 if self.uPid is not None :869 if self.uPid is not None and self.fPidFile: 869 870 self.oTstDrv.pidFileRemove(self.uPid); 871 self.fPidFile = False; 870 872 871 873 self.oTstDrv.processPendingEvents(); … … 2653 2655 if self.uPid is not None: 2654 2656 reporter.log2('getPid: %u' % (self.uPid,)); 2655 self.oTstDrv.pidFileAdd(self.uPid, 'vm_%s' % (self.sName,), fSudo = True); # Set-uid-to-root is similar to SUDO. 2657 self.fPidFile = self.oTstDrv.pidFileAdd(self.uPid, 'vm_%s' % (self.sName,), # Set-uid-to-root is similar to SUDO. 2658 fSudo = True); 2656 2659 return self.uPid; 2657 2660
Note:
See TracChangeset
for help on using the changeset viewer.