1# 2# $FreeBSD$ 3# 4# Regression test for geom_uzip. 5# 6 7PACKAGE= tests 8 9TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T} 10 11IMAGE= 1.img 12ZIMAGE= ${IMAGE}.uzip 13UZIMAGE= ${ZIMAGE}.uue 14 15CLEANFILES+= ${IMAGE} ${UZIMAGE} ${ZIMAGE} 16 17${IMAGE}: 18 makefs -s 1048576 ${.TARGET} ${.CURDIR}/etalon 19 20${ZIMAGE}: ${IMAGE} 21 mkuzip -o ${.TARGET} ${.ALLSRC} 22 23${UZIMAGE}: ${IMAGE} ${ZIMAGE} 24 printf "#\n# $$" >${.TARGET} 25 printf "FreeBSD$$\n#\n\n" >> ${.TARGET} 26 uuencode ${ZIMAGE} ${ZIMAGE} >>${.TARGET} 27 28${PACKAGE}FILES+= conf.sh \ 29 ${UZIMAGE} 30 31FILESGROUPS+= etalon 32etalon+= etalon/etalon.txt 33etalonDIR= ${TESTSDIR}/etalon 34etalonPACKAGE= ${PACKAGE} 35 36TAP_TESTS_SH+= 1_test 37 38.for t in ${TAP_TESTS_SH} 39TEST_METADATA.$t+= required_user="root" 40.endfor 41 42.include <bsd.test.mk> 43