mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-30 15:12:44 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327832
@ -736,6 +736,8 @@
|
||||
..
|
||||
uniq
|
||||
..
|
||||
vmstat
|
||||
..
|
||||
xargs
|
||||
..
|
||||
xinstall
|
||||
|
@ -1,10 +1,15 @@
|
||||
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
||||
# $FreeBSD$
|
||||
|
||||
.include <src.opts.mk>
|
||||
|
||||
PROG= vmstat
|
||||
MAN= vmstat.8
|
||||
LIBADD= devstat kvm memstat xo util
|
||||
|
||||
WARNS?= 6
|
||||
|
||||
HAS_TESTS=
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
.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