Changeset 4c26a94


Ignore:
Timestamp:
Dec 3, 2021, 3:47:17 PM (7 weeks ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
master
Children:
a83012bf
Parents:
db87a35
Message:

Python script now print core dump limits.
(Only when no core found)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/pybin/tools.py

    rdb87a35 r4c26a94  
    374374
    375375        if not os.path.isfile(core):
    376                 return 1, "ERR No core dump"
     376                return 1, "ERR No core dump (limit soft: {} hard: {})".format(resource.getrlimit(resource.RLIMIT_CORE))
    377377
    378378        try:
Note: See TracChangeset for help on using the changeset viewer.