From d0fe4dbb7123d5750e67bc7c2cdc1ca58a6f4c53 Mon Sep 17 00:00:00 2001 From: ngie Date: Mon, 23 Nov 2015 08:17:32 +0000 Subject: 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 --- tests/sys/kern/acct/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tests/sys/kern/acct/Makefile (limited to 'tests/sys/kern/acct/Makefile') 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 -- cgit v1.1