summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-11-23 10:57:04 +0000
committerngie <ngie@FreeBSD.org>2015-11-23 10:57:04 +0000
commit749b28b1257beaf3e3d4f30302f7dfd901c958ac (patch)
treeb20b40188394c83443583008be7d5b6888d6e5b6
parentd3ec13a080e77a0638fb598e31d77dc952bfd2e2 (diff)
downloadFreeBSD-src-749b28b1257beaf3e3d4f30302f7dfd901c958ac.zip
FreeBSD-src-749b28b1257beaf3e3d4f30302f7dfd901c958ac.tar.gz
MFC r290856:
r290856 (by bap): also skip the definition of ':fopen_regular' to avoid the build to fail due to unused variables defined by ATF macros
-rw-r--r--contrib/netbsd-tests/lib/libc/stdio/t_fopen.c2
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)
OpenPOWER on IntegriCloud