1# $FreeBSD$ 2 3PACKAGE= tests 4 5TESTSRC= ${SRCTOP}/contrib/netbsd-tests/usr.sbin/mtree 6 7.PATH: ${TESTSRC} 8 9ATF_TESTS_SH= nmtree_test 10ATF_TESTS_SH_SRC_nmtree_test= t_mtree.sh 11 12# NOTE: the output from FreeBSD's nmtree displays sha256digest instead of 13# sha256; we need to mangle the specfiles to reflect this. 14.for f in mtree_d_create.out netbsd6_d_create.out 15CLEANFILES+= $f $f.tmp 16${PACKAGE}FILES+= $f 17$f: ${TESTSRC}/$f 18 sed -e 's/sha256/sha256digest/g' < ${.ALLSRC} > ${.TARGET}.tmp 19 mv ${.TARGET}.tmp ${.TARGET} 20.endfor 21 22${PACKAGE}FILES+= d_convert.in 23${PACKAGE}FILES+= d_convert_C.out 24${PACKAGE}FILES+= d_convert_C_S.out 25${PACKAGE}FILES+= d_convert_D.out 26${PACKAGE}FILES+= d_convert_D_S.out 27${PACKAGE}FILES+= d_merge.in 28${PACKAGE}FILES+= d_merge_C_M.out 29${PACKAGE}FILES+= d_merge_C_M_S.out 30 31.include <bsd.test.mk> 32