2014-10-09 00:32:33 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2016-02-02 22:26:49 +00:00
|
|
|
PACKAGE= tests
|
2016-05-04 23:20:53 +00:00
|
|
|
|
2015-10-12 08:16:03 +00:00
|
|
|
TESTSRC= ${SRCTOP}/contrib/netbsd-tests/usr.sbin/mtree
|
2016-02-02 22:26:49 +00:00
|
|
|
|
2014-10-09 00:32:33 +00:00
|
|
|
.PATH: ${TESTSRC}
|
|
|
|
|
|
|
|
ATF_TESTS_SH= nmtree_test
|
|
|
|
ATF_TESTS_SH_SRC_nmtree_test= t_mtree.sh
|
|
|
|
|
|
|
|
# NOTE: the output from FreeBSD's nmtree displays sha256digest instead of
|
|
|
|
# sha256; we need to mangle the specfiles to reflect this.
|
|
|
|
.for f in mtree_d_create.out netbsd6_d_create.out
|
|
|
|
CLEANFILES+= $f $f.tmp
|
2016-05-04 23:20:53 +00:00
|
|
|
${PACKAGE}FILES+= $f
|
2014-10-09 00:32:33 +00:00
|
|
|
$f: ${TESTSRC}/$f
|
|
|
|
sed -e 's/sha256/sha256digest/g' < ${.ALLSRC} > ${.TARGET}.tmp
|
|
|
|
mv ${.TARGET}.tmp ${.TARGET}
|
|
|
|
.endfor
|
|
|
|
|
2016-05-04 23:20:53 +00:00
|
|
|
${PACKAGE}FILES+= d_convert.in
|
|
|
|
${PACKAGE}FILES+= d_convert_C.out
|
|
|
|
${PACKAGE}FILES+= d_convert_C_S.out
|
|
|
|
${PACKAGE}FILES+= d_convert_D.out
|
|
|
|
${PACKAGE}FILES+= d_convert_D_S.out
|
|
|
|
${PACKAGE}FILES+= d_merge.in
|
|
|
|
${PACKAGE}FILES+= d_merge_C_M.out
|
|
|
|
${PACKAGE}FILES+= d_merge_C_M_S.out
|
2014-10-09 00:32:33 +00:00
|
|
|
|
|
|
|
.include <bsd.test.mk>
|