Makefile revision 272777
1272777Sngie# $FreeBSD: head/usr.sbin/nmtree/tests/Makefile 272777 2014-10-09 00:32:33Z ngie $ 2272777Sngie 3272777SngieTESTSRC= ${.CURDIR}/../../../contrib/netbsd-tests/usr.sbin/mtree 4272777Sngie.PATH: ${TESTSRC} 5272777Sngie 6272777SngieTESTSDIR= ${TESTSBASE}/usr.sbin/nmtree 7272777Sngie 8272777SngieATF_TESTS_SH= nmtree_test 9272777SngieATF_TESTS_SH_SRC_nmtree_test= t_mtree.sh 10272777Sngie 11272777SngieFILESDIR= ${TESTSDIR} 12272777Sngie 13272777Sngie# NOTE: the output from FreeBSD's nmtree displays sha256digest instead of 14272777Sngie# sha256; we need to mangle the specfiles to reflect this. 15272777Sngie.for f in mtree_d_create.out netbsd6_d_create.out 16272777SngieCLEANFILES+= $f $f.tmp 17272777SngieFILES+= $f 18272777Sngie$f: ${TESTSRC}/$f 19272777Sngie sed -e 's/sha256/sha256digest/g' < ${.ALLSRC} > ${.TARGET}.tmp 20272777Sngie mv ${.TARGET}.tmp ${.TARGET} 21272777Sngie.endfor 22272777Sngie 23272777SngieFILES+= d_convert.in 24272777SngieFILES+= d_convert_C.out 25272777SngieFILES+= d_convert_C_S.out 26272777SngieFILES+= d_convert_D.out 27272777SngieFILES+= d_convert_D_S.out 28272777SngieFILES+= d_merge.in 29272777SngieFILES+= d_merge_C_M.out 30272777SngieFILES+= d_merge_C_M_S.out 31272777Sngie 32272777Sngie.include <bsd.test.mk> 33