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