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