vmstat(8): Hook up NetBSD tests
The NetBSD tests for vmstat are basically just a smoke test, ensuring that executing `vmstat` and `vmstat -s` exit successfully. This is more than we test now, so go with it.
This commit is contained in:
parent
92e1020a52
commit
12cea332f1
@ -736,6 +736,8 @@
|
|||||||
..
|
..
|
||||||
uniq
|
uniq
|
||||||
..
|
..
|
||||||
|
vmstat
|
||||||
|
..
|
||||||
xargs
|
xargs
|
||||||
..
|
..
|
||||||
xinstall
|
xinstall
|
||||||
|
@ -1,10 +1,15 @@
|
|||||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
|
.include <src.opts.mk>
|
||||||
|
|
||||||
PROG= vmstat
|
PROG= vmstat
|
||||||
MAN= vmstat.8
|
MAN= vmstat.8
|
||||||
LIBADD= devstat kvm memstat xo util
|
LIBADD= devstat kvm memstat xo util
|
||||||
|
|
||||||
WARNS?= 6
|
WARNS?= 6
|
||||||
|
|
||||||
|
HAS_TESTS=
|
||||||
|
SUBDIR.${MK_TESTS}+= tests
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
9
usr.bin/vmstat/tests/Makefile
Normal file
9
usr.bin/vmstat/tests/Makefile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# $FreeBSD$
|
||||||
|
|
||||||
|
PACKAGE= tests
|
||||||
|
|
||||||
|
NETBSD_ATF_TESTS_SH= vmstat_test
|
||||||
|
|
||||||
|
.include <netbsd-tests.test.mk>
|
||||||
|
|
||||||
|
.include <bsd.test.mk>
|
Loading…
Reference in New Issue
Block a user