diff options
author | bapt <bapt@FreeBSD.org> | 2015-11-15 11:18:37 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2015-11-15 11:18:37 +0000 |
commit | cd2ea18f1d0c7c51b701eb33ec1dd20e14100138 (patch) | |
tree | dd36b10fa2e72445397687c612a70a98f68ee545 /contrib/netbsd-tests/lib/libc/stdio/t_fopen.c | |
parent | 593473bfcd8311838a49fc56c7547639929bb752 (diff) | |
download | FreeBSD-src-cd2ea18f1d0c7c51b701eb33ec1dd20e14100138.zip FreeBSD-src-cd2ea18f1d0c7c51b701eb33ec1dd20e14100138.tar.gz |
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/stdio/t_fopen.c')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/stdio/t_fopen.c | 2 |
1 files changed, 2 insertions, 0 deletions
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) |