Changeset 70575 in vbox
- Timestamp:
- Jan 13, 2018 2:28:28 PM (7 years ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/common/utils.py
r70569 r70575 859 859 pass; 860 860 else: 861 if sys.platform in ('linux2', ):861 if sys.platform in ('linux2', 'linux', 'linux3', 'linux4', 'linux5', 'linux6'): 862 862 asPsCmd = ['/bin/ps', '-p', '%u' % (uPid,), '-o', 'fname=']; 863 863 elif sys.platform in ('sunos5',): -
trunk/src/VBox/ValidationKit/testdriver/base.py
r70521 r70575 287 287 fRc = winbase.processCheckPidAndName(uPid, sName); 288 288 else: 289 if sys.platform in ('linux2', ): 289 sOs = utils.getHostOs(); 290 if sOs == 'linux': 290 291 asPsCmd = ['/bin/ps', '-p', '%u' % (uPid,), '-o', 'fname=']; 291 elif s ys.platform in ('sunos5',):292 elif sOs == 'solaris': 292 293 asPsCmd = ['/usr/bin/ps', '-p', '%u' % (uPid,), '-o', 'fname=']; 293 elif s ys.platform in ('darwin',):294 elif sOs == 'darwin': 294 295 asPsCmd = ['/bin/ps', '-p', '%u' % (uPid,), '-o', 'ucomm=']; 295 296 else: -
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r70573 r70575 1070 1070 # 1071 1071 iPipeR, iPipeW = os.pipe(); 1072 if hasattr(os, 'set_inheritable'): 1073 os.set_inheritable(iPipeW, fTrue); # pylint: disable=no-member 1072 1074 os.environ['NSPR_INHERIT_FDS'] = 'vboxsvc:startup-pipe:5:0x%x' % (iPipeW,); 1073 1075 reporter.log2("NSPR_INHERIT_FDS=%s" % (os.environ['NSPR_INHERIT_FDS']));
Note:
See TracChangeset
for help on using the changeset viewer.