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