1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/sys/geom/eli ${SRCTOP}/sys/crypto/sha2 4 5PACKAGE= tests 6 7TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T} 8 9ATF_TESTS_C= pbkdf2_test 10ATF_TESTS_SH+= attach_test 11ATF_TESTS_SH+= configure_test 12ATF_TESTS_SH+= delkey_test 13ATF_TESTS_SH+= detach_test 14ATF_TESTS_SH+= init_test 15ATF_TESTS_SH+= integrity_test 16ATF_TESTS_SH+= kill_test 17ATF_TESTS_SH+= misc_test 18ATF_TESTS_SH+= onetime_test 19ATF_TESTS_SH+= resize_test 20ATF_TESTS_SH+= setkey_test 21 22${PACKAGE}FILES+= conf.sh 23 24.for t in ${TAP_TESTS_SH} 25TEST_METADATA.$t+= required_user="root" 26.endfor 27 28CFLAGS.pbkdf2_test= -I${SRCTOP}/sys 29 30SRCS.pbkdf2_test= \ 31 hmac_test.c \ 32 g_eli_crypto.c \ 33 g_eli_hmac.c \ 34 pkcs5v2.c \ 35 sha512c.c \ 36 sha256c.c 37 38LIBADD.pbkdf2_test= crypto 39 40testvect.h: 41 python gentestvect.py > ${.TARGET} 42 43.include <bsd.test.mk> 44