summaryrefslogtreecommitdiffstats
path: root/usr.sbin/tests
diff options
context:
space:
mode:
authorjmmv <jmmv@FreeBSD.org>2014-03-16 04:09:22 +0000
committerjmmv <jmmv@FreeBSD.org>2014-03-16 04:09:22 +0000
commitb2e51e38a88412c17ce1160c247a6d673c0b2147 (patch)
tree22c8956efd4de8b6e41a15566111321ba8fdfde0 /usr.sbin/tests
parenta8cf290e9bcfb637ddde7dcc7345006c194c7ec8 (diff)
downloadFreeBSD-src-b2e51e38a88412c17ce1160c247a6d673c0b2147.zip
FreeBSD-src-b2e51e38a88412c17ce1160c247a6d673c0b2147.tar.gz
Migrate tools/regression/{usr.bin/lastcomm,usr.sbin}/ to the new tests layout.
This change was originally going to only migrate the usr.sbin tests but, as it turns out, the usr.sbin/sa/ tests require files from usr.bin/lastcomm/ so it's better to just also migrate the latter at the same time. The other usr.bin tests will be moved separately. To make these tests work within the test suite, some of them have required changes to prevent modifying the source directory and instead just rely on the current directory for file manipulation.
Diffstat (limited to 'usr.sbin/tests')
-rw-r--r--usr.sbin/tests/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/usr.sbin/tests/Makefile b/usr.sbin/tests/Makefile
new file mode 100644
index 0000000..a7e9c71
--- /dev/null
+++ b/usr.sbin/tests/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+.include <bsd.own.mk>
+
+TESTSDIR= ${TESTSBASE}/usr.sbin
+
+.PATH: ${.CURDIR:H:H}/tests
+KYUAFILE= yes
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud