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:
Kyle Evans 2018-01-11 16:04:04 +00:00
parent 92e1020a52
commit 12cea332f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=327832
3 changed files with 16 additions and 0 deletions

View File

@ -736,6 +736,8 @@
..
uniq
..
vmstat
..
xargs
..
xinstall

View File

@ -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>

View File

@ -0,0 +1,9 @@
# $FreeBSD$
PACKAGE= tests
NETBSD_ATF_TESTS_SH= vmstat_test
.include <netbsd-tests.test.mk>
.include <bsd.test.mk>