Makefile revision 299094
1272777Sngie# $FreeBSD: head/usr.sbin/nmtree/tests/Makefile 299094 2016-05-04 23:20:53Z ngie $ 2272777Sngie 3298107SgjbPACKAGE= tests 4299094Sngie 5289172SngieTESTSRC= ${SRCTOP}/contrib/netbsd-tests/usr.sbin/mtree 6298107Sgjb 7272777Sngie.PATH: ${TESTSRC} 8272777Sngie 9272777SngieATF_TESTS_SH= nmtree_test 10272777SngieATF_TESTS_SH_SRC_nmtree_test= t_mtree.sh 11272777Sngie 12272777Sngie# NOTE: the output from FreeBSD's nmtree displays sha256digest instead of 13272777Sngie# sha256; we need to mangle the specfiles to reflect this. 14272777Sngie.for f in mtree_d_create.out netbsd6_d_create.out 15272777SngieCLEANFILES+= $f $f.tmp 16299094Sngie${PACKAGE}FILES+= $f 17272777Sngie$f: ${TESTSRC}/$f 18272777Sngie sed -e 's/sha256/sha256digest/g' < ${.ALLSRC} > ${.TARGET}.tmp 19272777Sngie mv ${.TARGET}.tmp ${.TARGET} 20272777Sngie.endfor 21272777Sngie 22299094Sngie${PACKAGE}FILES+= d_convert.in 23299094Sngie${PACKAGE}FILES+= d_convert_C.out 24299094Sngie${PACKAGE}FILES+= d_convert_C_S.out 25299094Sngie${PACKAGE}FILES+= d_convert_D.out 26299094Sngie${PACKAGE}FILES+= d_convert_D_S.out 27299094Sngie${PACKAGE}FILES+= d_merge.in 28299094Sngie${PACKAGE}FILES+= d_merge_C_M.out 29299094Sngie${PACKAGE}FILES+= d_merge_C_M_S.out 30272777Sngie 31272777Sngie.include <bsd.test.mk> 32