blob: b9624068739fc7be01a23ced746e0d6dc08e748e (
plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
|
#
# $FreeBSD$
#
# Regression test for geom_uzip.
#
TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T}
IMAGE= 1.img
ZIMAGE= ${IMAGE}.uzip
UZIMAGE= ${ZIMAGE}.uue
CLEANFILES+= ${IMAGE} ${UZIMAGE} ${ZIMAGE}
${IMAGE}:
makefs -s 1048576 ${.TARGET} ${.CURDIR}/etalon
${ZIMAGE}: ${IMAGE}
mkuzip -o ${.TARGET} ${.ALLSRC}
${UZIMAGE}: ${IMAGE} ${ZIMAGE}
printf "#\n# $$" >${.TARGET}
printf "FreeBSD$$\n#\n\n" >> ${.TARGET}
uuencode ${ZIMAGE} ${ZIMAGE} >>${.TARGET}
FILES+= conf.sh
FILESNAME_conf.sh= conf.sh
FILES+= ${UZIMAGE}
FILESDIR= ${TESTSDIR}
FILESGROUPS= FILES etalon
etalon+= etalon/etalon.txt
etalonDIR= ${TESTSDIR}/etalon
TAP_TESTS_SH+= 1_test
.for t in ${TAP_TESTS_SH}
TEST_METADATA.$t+= required_user="root"
.endfor
.include <bsd.test.mk>
|