[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
bin/51807: [PATCH] tests/lib/libc/gen/t_assert: disable core file generation in :assert_false,:assert_true
>Synopsis: [PATCH] tests/lib/libc/gen/t_assert: disable core file generation in :assert_false,:assert_true
>Arrival-Date: Tue Jan 10 09:10:00 +0000 2017
>Originator: Ngie Cooper
The attached patch disables core file generation via setrlimit in tests/lib/libc/gen/t_assert .
Although kyua would generally clean up this core file, if `kern.corefile` (on FreeBSD -- equivalent to `kern.defcorename`) was modified to be an absolute path, the core file would never be cleaned up. This caused false positives while testing at work, considering that the test only validates the signal being raised, but the core file being present (we have checkers that look for core files and flag any present core files as failures).
Main Index |
Thread Index |