svn commit: r291191 - stable/10/contrib/netbsd-tests/lib/libc/stdio
Garrett Cooper
ngie at FreeBSD.org
Mon Nov 23 10:57:06 UTC 2015
Author: ngie
Date: Mon Nov 23 10:57:04 2015
New Revision: 291191
URL: https://svnweb.freebsd.org/changeset/base/291191
Log:
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
Modified:
stable/10/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c
==============================================================================
--- stable/10/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Mon Nov 23 10:53:01 2015 (r291190)
+++ stable/10/contrib/netbsd-tests/lib/libc/stdio/t_fopen.c Mon Nov 23 10:57:04 2015 (r291191)
@@ -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-stable-10
mailing list