VirtualBox

Changeset 97672 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 24, 2022 8:28:01 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154727
Message:

Validation Kit: Solaris core dump name tweaking.

Location:
trunk/src/VBox/ValidationKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/common/utils.py

    r97671 r97672  
    14421442            u'/var/cores/',
    14431443            u'/var/core/',
    1444             u'/var/tmp/',
    14451444        ]);
    14461445        #
     
    14521451        # ```coreadm -g /path/to/cores/core.%f.%p```
    14531452        #
    1454         sMatchPrefix = 'core';
    1455         sMatchSuffix = '.%u' % (uPid,);
     1453        sMatchSuffix = '.%u.core' % (uPid,);
    14561454        for sDir in asDmpDirs:
    14571455            sDir = os.path.expandvars(sDir);
     
    14631461                continue;
    14641462            for sEntry in asDirEntries:
    1465                 if  sEntry.startswith(sMatchPrefix) \
    1466                 and sEntry.endswith(sMatchSuffix):
     1463                fnLog('Entry: %s' % (os.path.join(sDir, sEntry)));
     1464                if sEntry.endswith(sMatchSuffix):
    14671465                    sFull = os.path.join(sDir, sEntry);
    14681466                    fnLog('Found crash dump for %u: %s' % (uPid, sFull,));
  • trunk/src/VBox/ValidationKit/testdriver/base.py

    r97669 r97672  
    723723                utils.sudoProcessOutputChecked([ 'coreadm', '-e', 'global', '-e', 'global-setid', \
    724724                                                 '-e', 'process', '-e', 'proc-setid', \
    725                                                  '-g', os.path.join(sCorePath, 'core.%f.%p')]);
     725                                                 '-g', os.path.join(sCorePath, '%f.%p.core')]);
    726726            else: # Disable.
    727727                utils.sudoProcessOutputChecked([ 'coreadm', \
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