summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2008-06-13 21:33:01 +0000
committerMarc Espie <espie@cvs.openbsd.org>2008-06-13 21:33:01 +0000
commita5394b5495cce1853bc6e30d709ac1df1353cc23 (patch)
tree90de444605bc4ca9e9d880365dc10cf6e71f3bf3 /regress
parent36990fedaf6039277d4b51c22b19362d2b1d903e (diff)
some mtree regress
okay millert@
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/Makefile4
-rw-r--r--regress/usr.sbin/mtree/Makefile9
-rw-r--r--regress/usr.sbin/mtree/spec16
3 files changed, 17 insertions, 2 deletions
diff --git a/regress/usr.sbin/Makefile b/regress/usr.sbin/Makefile
index 662362d6c7d..2e7bf139c23 100644
--- a/regress/usr.sbin/Makefile
+++ b/regress/usr.sbin/Makefile
@@ -1,5 +1,5 @@
-# $OpenBSD: Makefile,v 1.1 2004/02/21 19:07:29 espie Exp $
+# $OpenBSD: Makefile,v 1.2 2008/06/13 21:33:00 espie Exp $
-SUBDIR+= pkg_add
+SUBDIR+= mtree pkg_add
.include <bsd.subdir.mk>
diff --git a/regress/usr.sbin/mtree/Makefile b/regress/usr.sbin/mtree/Makefile
new file mode 100644
index 00000000000..828fe45a80b
--- /dev/null
+++ b/regress/usr.sbin/mtree/Makefile
@@ -0,0 +1,9 @@
+# $OpenBSD: Makefile,v 1.1 2008/06/13 21:33:00 espie Exp $
+
+REGRESS_TARGETS=t1
+
+
+t1:
+ mtree -e -f ${.CURDIR}/spec1 -p ${.CURDIR}
+
+.include <bsd.regress.mk>
diff --git a/regress/usr.sbin/mtree/spec1 b/regress/usr.sbin/mtree/spec1
new file mode 100644
index 00000000000..3b44f427653
--- /dev/null
+++ b/regress/usr.sbin/mtree/spec1
@@ -0,0 +1,6 @@
+# $OpenBSD: spec1,v 1.1 2008/06/13 21:33:00 espie Exp $
+/set \
+type=dir
+.
+/set type=file
+spec1