- Timestamp:
- Jan 9, 2017 2:43:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/base.py
r65199 r65209 1168 1168 Adds a PID to the PID file, creating the file if necessary. 1169 1169 """ 1170 _ = fSudo; ## @todo remember sudo (root) children.1171 1170 try: 1172 1171 oFile = utils.openNoInherit(self.sPidFile, 'a'); … … 1179 1178 reporter.errorXcpt(); 1180 1179 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(),)); 1182 1183 return True; 1183 1184 … … 1206 1207 reporter.errorXcpt(); 1207 1208 return False; 1208 1209 reporter.log 2('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(),)); 1210 1211 return True; 1211 1212 … … 1218 1219 reporter.logXcpt(); 1219 1220 return False; 1221 ## @todo s/log/log2/ 1222 reporter.log('pidFileDelete: deleted "%s"' % (self.sPidFile,)); 1220 1223 return True; 1221 1224
Note:
See TracChangeset
for help on using the changeset viewer.