- Timestamp:
- Dec 12, 2022 11:13:41 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 154842
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/base.py
r97673 r97774 721 721 if sKindCrashDump is not None: # Enable. 722 722 sCorePath = getDirEnv('TESTBOX_PATH_SCRATCH', sAlternative = '/var/cores', fTryCreate = False); 723 utils.sudoProcessOutputChecked([ 'coreadm', '-e', 'global', '-e', 'global-setid', \724 '-e', 'process', '-e', 'proc-setid', \725 '-g', os.path.join(sCorePath, '%f.%p.core')]);723 (iExitCode, _, sErr) = utils.processOutputUnchecked([ 'coreadm', '-e', 'global', '-e', 'global-setid', \ 724 '-e', 'process', '-e', 'proc-setid', \ 725 '-g', os.path.join(sCorePath, '%f.%p.core')]); 726 726 else: # Disable. 727 utils.sudoProcessOutputChecked([ 'coreadm', \ 728 '-d', 'global', '-d', 'global-setid', '-d', 'process', '-d', 'proc-setid' ]); 727 (iExitCode, _, sErr) = utils.processOutputUnchecked([ 'coreadm', \ 728 '-d', 'global', '-d', 'global-setid', \ 729 '-d', 'process', '-d', 'proc-setid' ]); 730 if iExitCode != 0: # Don't report an actual error, just log this. 731 reporter.log('%s coreadm failed: %s' % ('Enabling' if sKindCrashDump else 'Disabling', sErr)); 729 732 730 733 if sKindCrashDump is not None:
Note:
See TracChangeset
for help on using the changeset viewer.