From cd2ea18f1d0c7c51b701eb33ec1dd20e14100138 Mon Sep 17 00:00:00 2001 From: bapt Date: Sun, 15 Nov 2015 11:18:37 +0000 Subject: also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros --- contrib/netbsd-tests/lib/libc/stdio/t_fopen.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'contrib/netbsd-tests/lib/libc') diff --git a/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c b/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c index d9e2dd6..4083b80 100644 --- a/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c +++ b/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c @@ -303,6 +303,7 @@ ATF_TC_BODY(fopen_perm, tc) ATF_REQUIRE_ERRNO(EACCES, fopen("/bin/ls", "w+") == NULL); } +#ifdef __NetBSD__ ATF_TC(fopen_regular); ATF_TC_HEAD(fopen_regular, tc) { @@ -335,6 +336,7 @@ ATF_TC_BODY(fopen_regular, tc) } } } +#endif ATF_TC_WITH_CLEANUP(fopen_seek); ATF_TC_HEAD(fopen_seek, tc) -- cgit v1.1