Date: Mon, 23 Nov 2015 10:57:05 +0000 (UTC) From: Garrett Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r291191 - stable/10/contrib/netbsd-tests/lib/libc/stdio Message-ID: <201511231057.tANAv52V029794@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511231057.tANAv52V029794>