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