Page MenuHomeFreeBSD

Skip the 'status_coredump' test if coredumps are disabled via kern.coredump.
ClosedPublic

Authored by jhb on May 10 2017, 5:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 5, 7:10 AM
Unknown Object (File)
Mar 10 2024, 6:13 PM
Unknown Object (File)
Mar 10 2024, 6:13 PM
Unknown Object (File)
Mar 10 2024, 6:13 PM
Unknown Object (File)
Mar 10 2024, 6:13 PM
Unknown Object (File)
Mar 7 2024, 8:40 PM
Unknown Object (File)
Dec 20 2023, 3:25 AM
Unknown Object (File)
Dec 16 2023, 7:40 AM
Subscribers

Details

Summary

Skip the 'status_coredump' test if coredumps are disabled via kern.coredump.

The kern.coredump sysctl can be set to 0 to disable coredumps. Skip the
'status_coredump' test if this sysctl is set to 0 rather than reporting a
failure.

Submitted by: brooks
Obtained from: CheriBSD

Test Plan
  • Run the 'status_coredump' test with kern.coredump set to both 0 and 1. Still passes with '1', now reports 'skip' instead of FAIL for 0.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

  • Skip wait6_coredumped as well.
ngie added a subscriber: jmmv.

LGTM -- the contrib/atf part should be pushed up to jmmv/atf, as the port contains that test as well.

This revision is now accepted and ready to land.May 10 2017, 8:46 PM
This revision was automatically updated to reflect the committed changes.