summaryrefslogtreecommitdiffstats
path: root/tests/sys/kern/acct/Makefile
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-11-23 08:17:32 +0000
committerngie <ngie@FreeBSD.org>2015-11-23 08:17:32 +0000
commitd0fe4dbb7123d5750e67bc7c2cdc1ca58a6f4c53 (patch)
tree78a5b5ccf9d6d186cec032381379c3680edb208d /tests/sys/kern/acct/Makefile
parentb5ae3e30b3f29ccd21120c954b01b3cae19d4b89 (diff)
downloadFreeBSD-src-d0fe4dbb7123d5750e67bc7c2cdc1ca58a6f4c53.zip
FreeBSD-src-d0fe4dbb7123d5750e67bc7c2cdc1ca58a6f4c53.tar.gz
MFC r290905,r290922:
r290905: Integrate acct(2) testcase in as tests/sys/kern/acct/acct_test The :encode_tv_random_million testcase fails the epsilon tests a few thousand times out of one million, so expect the testcase to fail Submitted by: keramida Sponsored by: EMC / Isilon Storage Division r290922: Remove directory made obsolete by r290905 X-MFC note: stable/10 only Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'tests/sys/kern/acct/Makefile')
-rw-r--r--tests/sys/kern/acct/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/sys/kern/acct/Makefile b/tests/sys/kern/acct/Makefile
new file mode 100644
index 0000000..966fe9a
--- /dev/null
+++ b/tests/sys/kern/acct/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+
+TESTSDIR= ${TESTSBASE}/sys/kern/acct
+
+ATF_TESTS_C= acct_test
+
+CFLAGS+= -I${.OBJDIR}
+
+CLEANFILES+= convert.c
+
+DPSRCS.acct_test= convert.c
+
+convert.c: ${SRCTOP}/sys/kern/kern_acct.c
+ sed -n -e 's/log(/syslog(/g' \
+ -e '/FLOAT_CONVERSION_START/,/FLOAT_CONVERSION_END/p' ${.ALLSRC} >>${.TARGET}
+
+.include <bsd.test.mk>
OpenPOWER on IntegriCloud