VirtualBox

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.

File:
1 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,));
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette