CVS commit: src/tests/lib/libposix
Module Name:src Committed By: pooka Date: Mon Jan 14 13:37:58 UTC 2013 Modified Files: src/tests/lib/libposix: Makefile Log Message: Use TESTS_SUBDIRS instead of SUBDIR to make these actually run. Also, fixes build with /usr/xpg4/bin/sh To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libposix/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libposix/Makefile diff -u src/tests/lib/libposix/Makefile:1.1 src/tests/lib/libposix/Makefile:1.2 --- src/tests/lib/libposix/Makefile:1.1 Fri Jul 16 13:56:31 2010 +++ src/tests/lib/libposix/Makefile Mon Jan 14 13:37:57 2013 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2010/07/16 13:56:31 jmmv Exp $ +# $NetBSD: Makefile,v 1.2 2013/01/14 13:37:57 pooka Exp $ NOMAN= # defined @@ -6,8 +6,8 @@ NOMAN= # defined TESTSDIR= ${TESTSBASE}/lib/libposix -SUBDIR= bsd -SUBDIR+= posix1 -SUBDIR+= posix2 +TESTS_SUBDIRS= bsd +TESTS_SUBDIRS+= posix1 +TESTS_SUBDIRS+= posix2 .include bsd.test.mk
CVS commit: src/tests/lib/libposix
Module Name:src Committed By: pooka Date: Mon Jan 14 13:37:58 UTC 2013 Modified Files: src/tests/lib/libposix: Makefile Log Message: Use TESTS_SUBDIRS instead of SUBDIR to make these actually run. Also, fixes build with /usr/xpg4/bin/sh To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libposix/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Re: CVS commit: src/tests/lib/libposix
On 5/16/11 1:03 AM, Christos Zoulas wrote: Module Name:src Committed By: christos Date: Mon May 16 00:03:36 UTC 2011 Modified Files: src/tests/lib/libposix: t_rename.c Log Message: h_macros need strlcat and random ugh, please someone remove this header. define _NETBSD_SOURCE so those are defined. The original intent of h_macros was as a place to provide NetBSD-specific check macros that can't be part of the generic codebase of atf. I'm not sure what it currently includes, but I presume it does not follow this rule any more. I'll check later (FSVO later ;-) what pieces could be now moved to atf to clean this up a bit.
CVS commit: src/tests/lib/libposix
Module Name:src Committed By: christos Date: Mon May 16 00:03:36 UTC 2011 Modified Files: src/tests/lib/libposix: t_rename.c Log Message: h_macros need strlcat and random ugh, please someone remove this header. define _NETBSD_SOURCE so those are defined. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libposix/t_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. Modified files: Index: src/tests/lib/libposix/t_rename.c diff -u src/tests/lib/libposix/t_rename.c:1.1 src/tests/lib/libposix/t_rename.c:1.2 --- src/tests/lib/libposix/t_rename.c:1.1 Fri Jul 16 09:56:31 2010 +++ src/tests/lib/libposix/t_rename.c Sun May 15 20:03:36 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: t_rename.c,v 1.1 2010/07/16 13:56:31 jmmv Exp $ */ +/* $NetBSD: t_rename.c,v 1.2 2011/05/16 00:03:36 christos Exp $ */ /* * Copyright (c) 2001, 2008, 2010 The NetBSD Foundation, Inc. @@ -25,11 +25,11 @@ * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. */ - +#define _NETBSD_SOURCE /* strlcat/random */ #include sys/cdefs.h __COPYRIGHT(@(#) Copyright (c) 2008, 2010\ The NetBSD Foundation, inc. All rights reserved.); -__RCSID($NetBSD: t_rename.c,v 1.1 2010/07/16 13:56:31 jmmv Exp $); +__RCSID($NetBSD: t_rename.c,v 1.2 2011/05/16 00:03:36 christos Exp $); #include sys/types.h #include sys/stat.h
CVS commit: src/tests/lib/libposix
Module Name:src Committed By: christos Date: Mon May 16 00:03:36 UTC 2011 Modified Files: src/tests/lib/libposix: t_rename.c Log Message: h_macros need strlcat and random ugh, please someone remove this header. define _NETBSD_SOURCE so those are defined. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libposix/t_rename.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.