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
F173390346: D10665.id28203.diff
Fri, Sep 25, 3:51 PM
F173390014: D10665.id28204.diff
Fri, Sep 25, 3:48 PM
F173389946: D10665.id28428.diff
Fri, Sep 25, 3:47 PM
Unknown Object (File)
Fri, Sep 25, 1:27 PM
Unknown Object (File)
Tue, Sep 22, 1:16 PM
Unknown Object (File)
Tue, Sep 22, 11:40 AM
Unknown Object (File)
Fri, Sep 18, 11:09 PM
Unknown Object (File)
Sun, Sep 13, 12:50 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.