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 10 11TAP_TESTS_SH+= attach_d_test 12TAP_TESTS_SH+= configure_b_B_test 13TAP_TESTS_SH+= delkey_test 14TAP_TESTS_SH+= detach_l_test 15TAP_TESTS_SH+= init_B_test 16TAP_TESTS_SH+= init_J_test 17TAP_TESTS_SH+= init_a_test 18TAP_TESTS_SH+= init_alias_test 19TAP_TESTS_SH+= init_i_P_test 20TAP_TESTS_SH+= init_test 21TAP_TESTS_SH+= integrity_copy_test 22TAP_TESTS_SH+= integrity_data_test 23TAP_TESTS_SH+= integrity_hmac_test 24TAP_TESTS_SH+= kill_test 25TAP_TESTS_SH+= nokey_test 26TAP_TESTS_SH+= onetime_a_test 27TAP_TESTS_SH+= onetime_d_test 28TAP_TESTS_SH+= onetime_test 29TAP_TESTS_SH+= readonly_test 30TAP_TESTS_SH+= resize_test 31TAP_TESTS_SH+= setkey_test 32 33TEST_METADATA.init_a_test+= timeout="3600" 34TEST_METADATA.init_test+= timeout="600" 35TEST_METADATA.integrity_copy_test+= timeout="3600" 36TEST_METADATA.integrity_data_test+= timeout="1800" 37TEST_METADATA.integrity_hmac_test+= timeout="1800" 38TEST_METADATA.onetime_a_test+= timeout="1800" 39TEST_METADATA.onetime_test+= timeout="1800" 40 41${PACKAGE}FILES+= conf.sh 42 43.for t in ${TAP_TESTS_SH} 44TEST_METADATA.$t+= required_user="root" 45.endfor 46 47CFLAGS.pbkdf2_test= -I${SRCTOP}/sys 48 49SRCS.pbkdf2_test= \ 50 hmac_test.c \ 51 g_eli_crypto.c \ 52 g_eli_hmac.c \ 53 pkcs5v2.c \ 54 sha512c.c \ 55 sha256c.c 56 57LIBADD.pbkdf2_test= crypto 58 59testvect.h: 60 python gentestvect.py > ${.TARGET} 61 62.include <bsd.test.mk> 63