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