HomeFreeBSD

MFC r357195, r357556: O_SEARCH test fixes

Description

MFC r357195, r357556: O_SEARCH test fixes

r357195:
netbsd-tests: libc: use correct modes in O_SEARCH tests

The current code clearly intended for these to be octal based on the values
used, but the octal prefix was forgotten. Add it now for correctness, but
note that we don't currently execute these tests.

This has been submitted upstream as misc/54902, so I've omitted the standard
FreeBSD markers that we tend to put into netbsd-tests for upstream-candidate
identification.

r357556:
O_SEARCH tests: plug trivial fd leak

Coverity correctly reports this as a resource leak. It's an admittedly minor
one, but plug it anyways.

This has been submitted upstream as misc/54939.

Details

Provenance
kevansAuthored on
Parents
rS357633: MFC r357193: caroot: blacklisted: automatically pick up *.pem in the tree
Branches
Unknown
Tags
Unknown