VirtualBox

Changeset 97664 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Nov 23, 2022 10:48:00 AM (2 years ago)
Author:
vboxsync
Message:

Validation Kit: Added enabling + collecting crash reporting (core dumps) for Solaris hosts [use sudoProcessOutputChecked()].

File:
1 edited

Legend:

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

    r97661 r97664  
    721721            if sKindCrashDump is not None: # Enable.
    722722                sCorePath = getDirEnv('TESTBOX_PATH_SCRATCH', sAlternative = '/var/cores', fTryCreate = False);
    723                 utils.processOutputChecked([ 'coreadm', '-e', 'process', '-g', os.path.join(sCorePath, 'core.%f.%p') ]);
     723                utils.sudoProcessOutputChecked([ 'coreadm', '-e', 'process', '-g', os.path.join(sCorePath, 'core.%f.%p') ]);
    724724            else: # Disable.
    725                 utils.processOutputChecked([ 'coreadm', '-d', 'process' ]);
     725                utils.sudoProcessOutputChecked([ 'coreadm', '-d', 'process' ]);
    726726
    727727        if sKindCrashDump is not None:
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