The following commit has been merged in the master branch:
commit 1acc6126870e0299c3833ffeb98c83629ef99c5e
Author: Andrew Deason <[email protected]>
Date:   Tue Aug 6 20:57:29 2024 -0500

    tests: Avoid generating cores in softsig-helper
    
    Our opr/softsig-t tests run softsig-helper to generate SIGSEGV and
    SIGBUS signals (among other things), which may generate core files (if
    'ulimit -c' is nonzero). The core files are useless, since we expect
    those signals to be generated.
    
    Usually the core files are generated in the build tree (where we run the
    tests from), which is a minor annoyance. But some systems may be
    configured to store core files in a central location (e.g.
    /var/lib/systemd/coredump), which starts to build up over time after
    many builds.
    
    To avoid this, prevent core files from being generated in softsig-helper
    for the SIGSEGV and SIGBUS cases by calling setrlimit().
    
    Change-Id: Ice71e79009cf2b44d4cbe32233d3a7ee12e08d2d
    Reviewed-on: https://gerrit.openafs.org/15795
    Reviewed-by: Mark Vitale <[email protected]>
    Tested-by: Mark Vitale <[email protected]>
    Reviewed-by: Michael Meffie <[email protected]>

 tests/opr/softsig-helper.c | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

-- 
OpenAFS Master Repository
_______________________________________________
OpenAFS-cvs mailing list
[email protected]
https://lists.openafs.org/mailman/listinfo/openafs-cvs

Reply via email to