aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/nmtree/tests/Makefile
blob: 0b6312723162e77db434c41745413b10ca276c1d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $FreeBSD$

TESTSRC=	${SRCTOP}/contrib/netbsd-tests/usr.sbin/mtree
.PATH: ${TESTSRC}

ATF_TESTS_SH=	nmtree_test
ATF_TESTS_SH_SRC_nmtree_test=	t_mtree.sh

FILESDIR=	${TESTSDIR}

# 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
FILES+=		$f
$f: ${TESTSRC}/$f
	sed -e 's/sha256/sha256digest/g' < ${.ALLSRC} > ${.TARGET}.tmp
	mv ${.TARGET}.tmp ${.TARGET}
.endfor

FILES+=		d_convert.in
FILES+=		d_convert_C.out
FILES+=		d_convert_C_S.out
FILES+=		d_convert_D.out
FILES+=		d_convert_D_S.out
FILES+=		d_merge.in
FILES+=		d_merge_C_M.out
FILES+=		d_merge_C_M_S.out

.include <bsd.test.mk>