diff options
author | Julio Merino <jmmv@FreeBSD.org> | 2014-03-16 04:09:22 +0000 |
---|---|---|
committer | Julio Merino <jmmv@FreeBSD.org> | 2014-03-16 04:09:22 +0000 |
commit | d14afb2adcbf0db6625f582abf0c7154e4e005bd (patch) | |
tree | 22c8956efd4de8b6e41a15566111321ba8fdfde0 /usr.bin/lastcomm/Makefile | |
parent | e93e4134613b6d343c15de3d1cd24f781ee05a35 (diff) | |
download | src-d14afb2adcbf0db6625f582abf0c7154e4e005bd.tar.gz src-d14afb2adcbf0db6625f582abf0c7154e4e005bd.zip |
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.
Notes
Notes:
svn path=/head/; revision=263226
Diffstat (limited to 'usr.bin/lastcomm/Makefile')
-rw-r--r-- | usr.bin/lastcomm/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.bin/lastcomm/Makefile b/usr.bin/lastcomm/Makefile index 84708d9fb413..88253757b7f1 100644 --- a/usr.bin/lastcomm/Makefile +++ b/usr.bin/lastcomm/Makefile @@ -1,7 +1,13 @@ # From: @(#)Makefile 8.1 (Berkeley) 6/6/93 # $FreeBSD$ +.include <bsd.own.mk> + PROG= lastcomm SRCS= lastcomm.c readrec.c +.if ${MK_TESTS} != "no" +SUBDIR+= tests +.endif + .include <bsd.prog.mk> |