mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-23 16:01:42 +00:00
tests: audit: mark closefrom test an expected fail for now
closefrom has been converted to close_range internally; remediation is underway for this, marking it as an expected fail for now while proper course is determined. PR: 245625
This commit is contained in:
parent
7851fb8ecb
commit
30b4df2e4a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359944
@ -156,6 +156,8 @@ ATF_TC_BODY(closefrom_success, tc)
|
|||||||
{
|
{
|
||||||
const char *regex = "closefrom.*return,success";
|
const char *regex = "closefrom.*return,success";
|
||||||
FILE *pipefd = setup(fds, auclass);
|
FILE *pipefd = setup(fds, auclass);
|
||||||
|
|
||||||
|
atf_tc_expect_fail("closefrom was converted to close_range");
|
||||||
/* closefrom(2) returns 'void' */
|
/* closefrom(2) returns 'void' */
|
||||||
closefrom(INT_MAX);
|
closefrom(INT_MAX);
|
||||||
check_audit(fds, regex, pipefd);
|
check_audit(fds, regex, pipefd);
|
||||||
|
Loading…
Reference in New Issue
Block a user