Date: Thu, 11 Jan 2018 16:04:05 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r327832 - in head: etc/mtree usr.bin/vmstat usr.bin/vmstat/tests Message-ID: <201801111604.w0BG45sS000987@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Thu Jan 11 16:04:04 2018 New Revision: 327832 URL: https://svnweb.freebsd.org/changeset/base/327832 Log: 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. Added: head/usr.bin/vmstat/tests/ head/usr.bin/vmstat/tests/Makefile (contents, props changed) Modified: head/etc/mtree/BSD.tests.dist head/usr.bin/vmstat/Makefile Modified: head/etc/mtree/BSD.tests.dist ============================================================================== --- head/etc/mtree/BSD.tests.dist Thu Jan 11 15:44:03 2018 (r327831) +++ head/etc/mtree/BSD.tests.dist Thu Jan 11 16:04:04 2018 (r327832) @@ -736,6 +736,8 @@ .. uniq .. + vmstat + .. xargs .. xinstall Modified: head/usr.bin/vmstat/Makefile ============================================================================== --- head/usr.bin/vmstat/Makefile Thu Jan 11 15:44:03 2018 (r327831) +++ head/usr.bin/vmstat/Makefile Thu Jan 11 16:04:04 2018 (r327832) @@ -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> Added: head/usr.bin/vmstat/tests/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/usr.bin/vmstat/tests/Makefile Thu Jan 11 16:04:04 2018 (r327832) @@ -0,0 +1,9 @@ +# $FreeBSD$ + +PACKAGE= tests + +NETBSD_ATF_TESTS_SH= vmstat_test + +.include <netbsd-tests.test.mk> + +.include <bsd.test.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801111604.w0BG45sS000987>