diff options
| author | martin <martin@NetBSD.org> | 2012-02-13 21:03:06 +0000 |
|---|---|---|
| committer | martin <martin@NetBSD.org> | 2012-02-13 21:03:06 +0000 |
| commit | 9633fa7dfa38eddf2f5dc7576c5f82aaa7701d82 (patch) | |
| tree | e0f221777f8913ffdaf568355636d99759cc2488 | |
| parent | 3eda5a4b313259e16bd6ffbf6c32441612c81a40 (diff) | |
Move posix_spawn tests to lib/libc/gen/posix_spawn - they test both libc
and kernel, but that is an implementation detail unrelated to the tests
themselfs.
Ok: releng
| -rw-r--r-- | distrib/sets/lists/tests/mi | 53 | ||||
| -rw-r--r-- | etc/mtree/NetBSD.dist.tests | 6 | ||||
| -rw-r--r-- | tests/kernel/Makefile | 4 | ||||
| -rw-r--r-- | tests/lib/libc/gen/Makefile | 4 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/Makefile (renamed from tests/kernel/posix_spawn/Makefile) | 5 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/Makefile.inc (renamed from tests/kernel/posix_spawn/Makefile.inc) | 0 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/h_fileactions.c (renamed from tests/kernel/posix_spawn/h_fileactions.c) | 2 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/h_nonexec.sh (renamed from tests/kernel/posix_spawn/h_nonexec.sh) | 0 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/h_spawn.c (renamed from tests/kernel/posix_spawn/h_spawn.c) | 2 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/h_spawnattr.c (renamed from tests/kernel/posix_spawn/h_spawnattr.c) | 2 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/t_fileactions.c (renamed from tests/kernel/posix_spawn/t_fileactions.c) | 2 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/t_spawn.c (renamed from tests/kernel/posix_spawn/t_spawn.c) | 2 | ||||
| -rw-r--r-- | tests/lib/libc/gen/posix_spawn/t_spawnattr.c (renamed from tests/kernel/posix_spawn/t_spawnattr.c) | 2 |
13 files changed, 51 insertions, 33 deletions
diff --git a/distrib/sets/lists/tests/mi b/distrib/sets/lists/tests/mi index dca30743c9a..f4b42f8de14 100644 --- a/distrib/sets/lists/tests/mi +++ b/distrib/sets/lists/tests/mi @@ -1,4 +1,4 @@ -# $NetBSD: mi,v 1.435 2012/02/11 23:31:23 martin Exp $ +# $NetBSD: mi,v 1.436 2012/02/13 21:03:06 martin Exp $ # # Note: don't delete entries from here - mark them as "obsolete" instead. # @@ -322,13 +322,13 @@ ./usr/libdata/debug/usr/tests/kernel/kqueue/write/t_fifo.debug tests-kernel-tests debug,atf ./usr/libdata/debug/usr/tests/kernel/kqueue/write/t_pipe.debug tests-kernel-tests debug,atf ./usr/libdata/debug/usr/tests/kernel/kqueue/write/t_ttypty.debug tests-kernel-tests debug,atf -./usr/libdata/debug/usr/tests/kernel/posix_spawn tests-kernel-tests -./usr/libdata/debug/usr/tests/kernel/posix_spawn/t_spawn.debug tests-kernel-tests debug,atf -./usr/libdata/debug/usr/tests/kernel/posix_spawn/t_spawnattr.debug tests-kernel-tests debug,atf -./usr/libdata/debug/usr/tests/kernel/posix_spawn/t_fileactions.debug tests-kernel-tests debug,atf -./usr/libdata/debug/usr/tests/kernel/posix_spawn/h_spawn.debug tests-kernel-tests debug,atf -./usr/libdata/debug/usr/tests/kernel/posix_spawn/h_fileactions.debug tests-kernel-tests debug,atf -./usr/libdata/debug/usr/tests/kernel/posix_spawn/h_spawnattr.debug tests-kernel-tests debug,atf +./usr/libdata/debug/usr/tests/kernel/posix_spawn tests-kernel-tests obsolete +./usr/libdata/debug/usr/tests/kernel/posix_spawn/t_spawn.debug tests-kernel-tests obsolete +./usr/libdata/debug/usr/tests/kernel/posix_spawn/t_spawnattr.debug tests-kernel-tests obsolete +./usr/libdata/debug/usr/tests/kernel/posix_spawn/t_fileactions.debug tests-kernel-tests obsolete +./usr/libdata/debug/usr/tests/kernel/posix_spawn/h_spawn.debug tests-kernel-tests obsolete +./usr/libdata/debug/usr/tests/kernel/posix_spawn/h_fileactions.debug tests-kernel-tests obsolete +./usr/libdata/debug/usr/tests/kernel/posix_spawn/h_spawnattr.debug tests-kernel-tests obsolete ./usr/libdata/debug/usr/tests/kernel/t_extattrctl.debug tests-kernel-tests debug,atf ./usr/libdata/debug/usr/tests/kernel/t_extent.debug tests-kernel-tests debug,atf ./usr/libdata/debug/usr/tests/kernel/t_filedesc.debug tests-kernel-tests debug,atf @@ -365,6 +365,13 @@ ./usr/libdata/debug/usr/tests/lib/libc/db tests-lib-debug ./usr/libdata/debug/usr/tests/lib/libc/db/h_db.debug tests-lib-debug debug,atf ./usr/libdata/debug/usr/tests/lib/libc/gen tests-lib-debug +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn tests-kernel-tests +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn/t_spawn.debug tests-kernel-tests debug,atf +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn/t_spawnattr.debug tests-kernel-tests debug,atf +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn/t_fileactions.debug tests-kernel-tests debug,atf +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn/h_spawn.debug tests-kernel-tests debug,atf +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn/h_fileactions.debug tests-kernel-tests debug,atf +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn/h_spawnattr.debug tests-kernel-tests debug,atf ./usr/libdata/debug/usr/tests/lib/libc/gen/t_alarm.debug tests-lib-debug debug,atf ./usr/libdata/debug/usr/tests/lib/libc/gen/t_assert.debug tests-lib-debug debug,atf ./usr/libdata/debug/usr/tests/lib/libc/gen/t_basedirname.debug tests-lib-debug debug,atf @@ -1897,16 +1904,16 @@ ./usr/tests/kernel/kqueue/write/t_fifo tests-kernel-tests atf ./usr/tests/kernel/kqueue/write/t_pipe tests-kernel-tests atf ./usr/tests/kernel/kqueue/write/t_ttypty tests-kernel-tests atf -./usr/tests/kernel/posix_spawn tests-kernel-tests -./usr/tests/kernel/posix_spawn/Atffile tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/t_spawn tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/t_spawnattr tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/t_fileactions tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/h_spawn tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/h_spawnattr tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/h_fileactions tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/h_nonexec tests-kernel-tests atf -./usr/tests/kernel/posix_spawn/h_zero tests-kernel-tests atf +./usr/tests/kernel/posix_spawn tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/Atffile tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/t_spawn tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/t_spawnattr tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/t_fileactions tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/h_spawn tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/h_spawnattr tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/h_fileactions tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/h_nonexec tests-kernel-tests obsolete +./usr/tests/kernel/posix_spawn/h_zero tests-kernel-tests obsolete ./usr/tests/kernel/t_extattrctl tests-kernel-tests atf ./usr/tests/kernel/t_extent tests-kernel-tests atf ./usr/tests/kernel/t_filedesc tests-kernel-tests atf @@ -1955,6 +1962,16 @@ ./usr/tests/lib/libc/db/t_db tests-lib-tests atf ./usr/tests/lib/libc/gen tests-lib-tests ./usr/tests/lib/libc/gen/Atffile tests-lib-tests atf +./usr/tests/lib/libc/gen/posix_spawn tests-kernel-tests +./usr/tests/lib/libc/gen/posix_spawn/Atffile tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/t_spawn tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/t_spawnattr tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/t_fileactions tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/h_spawn tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/h_spawnattr tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/h_fileactions tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/h_nonexec tests-kernel-tests atf +./usr/tests/lib/libc/gen/posix_spawn/h_zero tests-kernel-tests atf ./usr/tests/lib/libc/gen/t_alarm tests-lib-tests atf ./usr/tests/lib/libc/gen/t_assert tests-lib-tests atf ./usr/tests/lib/libc/gen/t_basedirname tests-lib-tests atf diff --git a/etc/mtree/NetBSD.dist.tests b/etc/mtree/NetBSD.dist.tests index 3c812dd6145..da600dd230a 100644 --- a/etc/mtree/NetBSD.dist.tests +++ b/etc/mtree/NetBSD.dist.tests @@ -1,4 +1,4 @@ -# $NetBSD: NetBSD.dist.tests,v 1.59 2012/02/11 23:31:23 martin Exp $ +# $NetBSD: NetBSD.dist.tests,v 1.60 2012/02/13 21:03:06 martin Exp $ ./usr/libdata/debug/usr/tests ./usr/libdata/debug/usr/tests/atf @@ -44,7 +44,6 @@ ./usr/libdata/debug/usr/tests/kernel/kqueue ./usr/libdata/debug/usr/tests/kernel/kqueue/read ./usr/libdata/debug/usr/tests/kernel/kqueue/write -./usr/libdata/debug/usr/tests/kernel/posix_spawn ./usr/libdata/debug/usr/tests/kernel/tty ./usr/libdata/debug/usr/tests/lib ./usr/libdata/debug/usr/tests/lib/csu @@ -52,6 +51,7 @@ ./usr/libdata/debug/usr/tests/lib/libc ./usr/libdata/debug/usr/tests/lib/libc/db ./usr/libdata/debug/usr/tests/lib/libc/gen +./usr/libdata/debug/usr/tests/lib/libc/gen/posix_spawn ./usr/libdata/debug/usr/tests/lib/libc/hash ./usr/libdata/debug/usr/tests/lib/libc/locale ./usr/libdata/debug/usr/tests/lib/libc/inet @@ -169,7 +169,6 @@ ./usr/tests/kernel/kqueue ./usr/tests/kernel/kqueue/read ./usr/tests/kernel/kqueue/write -./usr/tests/kernel/posix_spawn ./usr/tests/kernel/tty ./usr/tests/lib ./usr/tests/lib/csu @@ -177,6 +176,7 @@ ./usr/tests/lib/libc ./usr/tests/lib/libc/db ./usr/tests/lib/libc/gen +./usr/tests/lib/libc/gen/posix_spawn ./usr/tests/lib/libc/hash ./usr/tests/lib/libc/hash/data ./usr/tests/lib/libc/locale diff --git a/tests/kernel/Makefile b/tests/kernel/Makefile index 081008fd920..579afbaca22 100644 --- a/tests/kernel/Makefile +++ b/tests/kernel/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2012/02/11 23:31:24 martin Exp $ +# $NetBSD: Makefile,v 1.24 2012/02/13 21:03:06 martin Exp $ NOMAN= # defined @@ -6,7 +6,7 @@ NOMAN= # defined TESTSDIR= ${TESTSBASE}/kernel -TESTS_SUBDIRS= posix_spawn kqueue tty +TESTS_SUBDIRS= kqueue tty TESTS_C= t_lock TESTS_C+= t_lwpctl diff --git a/tests/lib/libc/gen/Makefile b/tests/lib/libc/gen/Makefile index 87059b40a3e..b37dbba42c1 100644 --- a/tests/lib/libc/gen/Makefile +++ b/tests/lib/libc/gen/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.33 2011/11/08 05:47:00 jruoho Exp $ +# $NetBSD: Makefile,v 1.34 2012/02/13 21:03:08 martin Exp $ .include <bsd.own.mk> TESTSDIR= ${TESTSBASE}/lib/libc/gen +TESTS_SUBDIRS= posix_spawn + TESTS_C+= t_alarm TESTS_C+= t_assert TESTS_C+= t_basedirname diff --git a/tests/kernel/posix_spawn/Makefile b/tests/lib/libc/gen/posix_spawn/Makefile index 1e6e29e7fb3..6e79d1c24da 100644 --- a/tests/kernel/posix_spawn/Makefile +++ b/tests/lib/libc/gen/posix_spawn/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.1 2012/02/11 23:31:24 martin Exp $ +# $NetBSD: Makefile,v 1.1 2012/02/13 21:03:08 martin Exp $ NOMAN= # defined .include <bsd.own.mk> -TESTSDIR= ${TESTSBASE}/kernel/posix_spawn +TESTSDIR= ${TESTSBASE}/lib/libc/gen/posix_spawn TESTS_C= t_spawn TESTS_C+= t_fileactions @@ -25,4 +25,3 @@ h_zero: CLEANFILES+= h_nonexec h_zero .include <bsd.test.mk> - diff --git a/tests/kernel/posix_spawn/Makefile.inc b/tests/lib/libc/gen/posix_spawn/Makefile.inc index 01b5f23410c..01b5f23410c 100644 --- a/tests/kernel/posix_spawn/Makefile.inc +++ b/tests/lib/libc/gen/posix_spawn/Makefile.inc diff --git a/tests/kernel/posix_spawn/h_fileactions.c b/tests/lib/libc/gen/posix_spawn/h_fileactions.c index 1cf2182680d..d9233707448 100644 --- a/tests/kernel/posix_spawn/h_fileactions.c +++ b/tests/lib/libc/gen/posix_spawn/h_fileactions.c @@ -1,4 +1,4 @@ -/* $NetBSD: h_fileactions.c,v 1.1 2012/02/11 23:31:24 martin Exp $ */ +/* $NetBSD: h_fileactions.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. diff --git a/tests/kernel/posix_spawn/h_nonexec.sh b/tests/lib/libc/gen/posix_spawn/h_nonexec.sh index deee6fe720f..deee6fe720f 100644 --- a/tests/kernel/posix_spawn/h_nonexec.sh +++ b/tests/lib/libc/gen/posix_spawn/h_nonexec.sh diff --git a/tests/kernel/posix_spawn/h_spawn.c b/tests/lib/libc/gen/posix_spawn/h_spawn.c index 0e2c6c03794..dbf5da5efa1 100644 --- a/tests/kernel/posix_spawn/h_spawn.c +++ b/tests/lib/libc/gen/posix_spawn/h_spawn.c @@ -1,4 +1,4 @@ -/* $NetBSD: h_spawn.c,v 1.1 2012/02/11 23:31:24 martin Exp $ */ +/* $NetBSD: h_spawn.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. diff --git a/tests/kernel/posix_spawn/h_spawnattr.c b/tests/lib/libc/gen/posix_spawn/h_spawnattr.c index 67c1820f95b..1f13c54c9de 100644 --- a/tests/kernel/posix_spawn/h_spawnattr.c +++ b/tests/lib/libc/gen/posix_spawn/h_spawnattr.c @@ -1,4 +1,4 @@ -/* $NetBSD: h_spawnattr.c,v 1.1 2012/02/11 23:31:25 martin Exp $ */ +/* $NetBSD: h_spawnattr.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. diff --git a/tests/kernel/posix_spawn/t_fileactions.c b/tests/lib/libc/gen/posix_spawn/t_fileactions.c index d038928df26..f14c9080783 100644 --- a/tests/kernel/posix_spawn/t_fileactions.c +++ b/tests/lib/libc/gen/posix_spawn/t_fileactions.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_fileactions.c,v 1.1 2012/02/11 23:31:25 martin Exp $ */ +/* $NetBSD: t_fileactions.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. diff --git a/tests/kernel/posix_spawn/t_spawn.c b/tests/lib/libc/gen/posix_spawn/t_spawn.c index e465c453a58..178374b863d 100644 --- a/tests/kernel/posix_spawn/t_spawn.c +++ b/tests/lib/libc/gen/posix_spawn/t_spawn.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_spawn.c,v 1.1 2012/02/11 23:31:25 martin Exp $ */ +/* $NetBSD: t_spawn.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. diff --git a/tests/kernel/posix_spawn/t_spawnattr.c b/tests/lib/libc/gen/posix_spawn/t_spawnattr.c index 4bf5dacd70b..eb99c41345c 100644 --- a/tests/kernel/posix_spawn/t_spawnattr.c +++ b/tests/lib/libc/gen/posix_spawn/t_spawnattr.c @@ -1,4 +1,4 @@ -/* $NetBSD: t_spawnattr.c,v 1.1 2012/02/11 23:31:25 martin Exp $ */ +/* $NetBSD: t_spawnattr.c,v 1.1 2012/02/13 21:03:08 martin Exp $ */ /*- * Copyright (c) 2012 The NetBSD Foundation, Inc. |
