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)
Tue, Dec 30, 11:19 AM
Unknown Object (File)
Nov 17 2025, 11:06 PM
Unknown Object (File)
Nov 17 2025, 1:29 AM
Unknown Object (File)
Nov 1 2025, 3:50 PM
Unknown Object (File)
Oct 30 2025, 12:04 AM
Unknown Object (File)
Oct 27 2025, 4:05 AM
Unknown Object (File)
Oct 26 2025, 6:16 AM
Unknown Object (File)
Oct 20 2025, 3:59 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.