1# 2# $FreeBSD$ 3# 4# Regression test for geom_uzip. 5# 6 7TESTSDIR= ${TESTSBASE}/sys/geom/class/${.CURDIR:T} 8 9IMAGE= 1.img 10ZIMAGE= ${IMAGE}.uzip 11UZIMAGE= ${ZIMAGE}.uue 12 13CLEANFILES+= ${IMAGE} ${UZIMAGE} ${ZIMAGE} 14 15${IMAGE}: 16 makefs -s 1048576 ${.TARGET} ${.CURDIR}/etalon 17 18${ZIMAGE}: ${IMAGE} 19 mkuzip -o ${.TARGET} ${.ALLSRC} 20 21${UZIMAGE}: ${IMAGE} ${ZIMAGE} 22 printf "#\n# $$" >${.TARGET} 23 printf "FreeBSD$$\n#\n\n" >> ${.TARGET} 24 uuencode ${ZIMAGE} ${ZIMAGE} >>${.TARGET} 25 26FILES+= conf.sh 27FILESNAME_conf.sh= conf.sh 28 29FILES+= ${UZIMAGE} 30FILESDIR= ${TESTSDIR} 31 32FILESGROUPS= FILES etalon 33etalon+= etalon/etalon.txt 34etalonDIR= ${TESTSDIR}/etalon 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