svn commit: r290856 - head/contrib/netbsd-tests/lib/libc/stdio
Baptiste Daroussin
bapt at FreeBSD.org
Sun Nov 15 11:18:38 UTC 2015
Author: bapt
Date: Sun Nov 15 11:18:37 2015
New Revision: 290856
URL: https://svnweb.freebsd.org/changeset/base/290856
Log:
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
Modified:
head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c
Modified: head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c
==============================================================================
--- head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Sun Nov 15 10:58:01 2015 (r290855)
+++ head/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Sun Nov 15 11:18:37 2015 (r290856)
@@ -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)
More information about the svn-src-head
mailing list