mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +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";
|
||||
FILE *pipefd = setup(fds, auclass);
|
||||
|
||||
atf_tc_expect_fail("closefrom was converted to close_range");
|
||||
/* closefrom(2) returns 'void' */
|
||||
closefrom(INT_MAX);
|
||||
check_audit(fds, regex, pipefd);
|
||||
|
Loading…
Reference in New Issue
Block a user