freebsd-skq/tools/regression/geom_uzip/Makefile

24 lines
375 B
Makefile

#
# $FreeBSD$
#
# Regression test for geom_ugz.
#
IMAGE= test-1.img
ZIMAGE= ${IMAGE}.uzip
UZIMAGE= ${ZIMAGE}.uue
test:
@sh runtests.sh
image:
makefs -s 1048576 ${IMAGE} etalon
printf "#\n# $$" >${UZIMAGE}
printf "FreeBSD$$\n#\n\n" >> ${UZIMAGE}
mkuzip -o ${ZIMAGE} ${IMAGE}
uuencode ${ZIMAGE} ${ZIMAGE} >>${UZIMAGE}
rm ${ZIMAGE}
clean:
rm -f ${IMAGE} ${ZIMAGE}