summaryrefslogtreecommitdiffstats
path: root/tools/regression/geom_uzip/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/geom_uzip/Makefile')
-rw-r--r--tools/regression/geom_uzip/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/regression/geom_uzip/Makefile b/tools/regression/geom_uzip/Makefile
new file mode 100644
index 0000000..bab058e
--- /dev/null
+++ b/tools/regression/geom_uzip/Makefile
@@ -0,0 +1,21 @@
+#
+# $FreeBSD$
+#
+# Regression test for geom_ugz.
+#
+
+IMAGE= test-1.img
+ZIMAGE= ${IMAGE}.gz
+UZIMAGE= ${ZIMAGE}.uue
+
+test:
+ @sh runtests.sh
+
+image:
+ makefs -s 1048576 ${IMAGE} etalon
+ printf "#\n# $$" >${UZIMAGE}
+ printf "FreeBSD$$\n#\n\n" >> ${UZIMAGE}
+ create_compressed_fs ${IMAGE} 65536 | uuencode ${ZIMAGE} >>${UZIMAGE}
+
+clean:
+ rm -f ${IMAGE} ${ZIMAGE}
OpenPOWER on IntegriCloud