1# $FreeBSD$ 2 3TESTSRC= ${SRCTOP}/contrib/netbsd-tests/usr.sbin/mtree 4.PATH: ${TESTSRC} 5 6ATF_TESTS_SH= nmtree_test 7ATF_TESTS_SH_SRC_nmtree_test= t_mtree.sh 8 9FILESDIR= ${TESTSDIR} 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 15FILES+= $f 16$f: ${TESTSRC}/$f 17 sed -e 's/sha256/sha256digest/g' < ${.ALLSRC} > ${.TARGET}.tmp 18 mv ${.TARGET}.tmp ${.TARGET} 19.endfor 20 21FILES+= d_convert.in 22FILES+= d_convert_C.out 23FILES+= d_convert_C_S.out 24FILES+= d_convert_D.out 25FILES+= d_convert_D_S.out 26FILES+= d_merge.in 27FILES+= d_merge_C_M.out 28FILES+= d_merge_C_M_S.out 29 30.include <bsd.test.mk> 31