Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2015 11:18:37 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290856 - head/contrib/netbsd-tests/lib/libc/stdio
Message-ID:  <201511151118.tAFBIbD1015982@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511151118.tAFBIbD1015982>