t_access.c: remove unnecessary local modification

FreeBSD 11.x is no longer supported; there's no reason why the
`FreeBSD_version__` check is still required (now).

MFC after:	1 week
This commit is contained in:
Enji Cooper
2026-02-15 11:39:10 -08:00
parent faaeb6e62a
commit 35237ff987
@@ -31,10 +31,6 @@
#include <sys/cdefs.h>
__RCSID("$NetBSD: t_access.c,v 1.2 2017/01/10 22:36:29 christos Exp $");
#ifdef __FreeBSD__
#include <sys/param.h> /* For __FreeBSD_version */
#endif
#include <atf-c.h>
#include <sys/stat.h>
@@ -120,10 +116,6 @@ ATF_TC_HEAD(access_inval, tc)
ATF_TC_BODY(access_inval, tc)
{
#if defined(__FreeBSD__) && __FreeBSD_version < 1100033
atf_tc_expect_fail("arguments to access aren't validated; see "
"bug # 181155 for more details");
#endif
errno = 0;
ATF_REQUIRE(access("/usr", -1) != 0);