summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2012-02-13 21:03:06 +0000
committermartin <martin@NetBSD.org>2012-02-13 21:03:06 +0000
commit9633fa7dfa38eddf2f5dc7576c5f82aaa7701d82 (patch)
treee0f221777f8913ffdaf568355636d99759cc2488 /tests
parent3eda5a4b313259e16bd6ffbf6c32441612c81a40 (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
Diffstat (limited to 'tests')
-rw-r--r--tests/kernel/Makefile4
-rw-r--r--tests/lib/libc/gen/Makefile4
-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
11 files changed, 13 insertions, 12 deletions
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.