537976d190
This test checks if value received from kvm_read is sane, based on value returned by sysctl interface. This should catch regression on bug fixed by r359160 Reviewed by: jhb Approved by: jhibbits (mentor) MFC after: 1 week Sponsored by: Eldorado Research Institute (eldorado.org.br) Differential Revision: https://reviews.freebsd.org/D23783
25 lines
442 B
Makefile
25 lines
442 B
Makefile
# $FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
ATF_TESTS_C+= kvm_close_test
|
|
ATF_TESTS_C+= kvm_geterr_test
|
|
ATF_TESTS_C+= kvm_open_test
|
|
ATF_TESTS_C+= kvm_open2_test
|
|
ATF_TESTS_C+= kvm_read_test
|
|
|
|
CFLAGS.kvm_geterr_test+= -I${.CURDIR:H}
|
|
CFLAGS.kvm_read_test+= -I${.CURDIR:H}
|
|
|
|
LIBADD+= kvm
|
|
|
|
WARNS?= 6
|
|
|
|
BINDIR= ${TESTSDIR}
|
|
|
|
.for t in kvm_geterr_test kvm_open_test kvm_open2_test kvm_read_test
|
|
SRCS.$t= $t.c kvm_test_common.c
|
|
.endfor
|
|
|
|
.include <bsd.test.mk>
|