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