summaryrefslogtreecommitdiff
path: root/regress/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-07-12 23:33:43 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-07-12 23:33:43 +0000
commit1f84b097aa12461361f646badc8eb194837bda3c (patch)
tree85cdf4b147798b2c2eb962147321db12768511ad /regress/usr.sbin/pkg_add
parent7a169c3c44136fc1c0588735f346e59999c8077e (diff)
create packages with inter-dependencies... and delete them
Diffstat (limited to 'regress/usr.sbin/pkg_add')
-rw-r--r--regress/usr.sbin/pkg_add/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/regress/usr.sbin/pkg_add/Makefile b/regress/usr.sbin/pkg_add/Makefile
index 0004acad4ea..d4b09dd84b7 100644
--- a/regress/usr.sbin/pkg_add/Makefile
+++ b/regress/usr.sbin/pkg_add/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.45 2011/07/12 23:17:21 espie Exp $
+# $OpenBSD: Makefile,v 1.46 2011/07/12 23:33:42 espie Exp $
REGRESS_TARGETS=pkgnames pkgpaths signatures depends-check longnames \
update-check1 \
@@ -6,7 +6,7 @@ REGRESS_TARGETS=pkgnames pkgpaths signatures depends-check longnames \
merge-update split-update big-merge family-circus missing \
lib-report1 lib-report2 lib-report3 loop1 \
lib-report4 lib-report5 lib-report6 lib-report7 \
- qttest gstest exotest
+ qttest gstest exotest inter1
@@ -25,7 +25,7 @@ D$i ?= ${.OBJDIR}/dest$i
DEST$i ?= ${D$i}/usr/local
.endfor
-# current maxes: D29, SRC20, plist18
+# current maxes: D31, SRC20, plist18
pkgnames:
perl ${.CURDIR}/check-name
@@ -209,6 +209,11 @@ manual1: rep0/ma-0.tgz rep0/mb-0.tgz rep0/mc-0.tgz rep0/md-0.tgz \
PKG_DBDIR=${D30}/pkgdb pkg_delete -Dnonroot -B ${D30} -a
@PKG_DBDIR=${D30}/pkgdb pkg_info
+inter1: rep0/inta-0.tgz rep0/intb-0.tgz
+ -rm -rf ${D31}
+ @ROOT=${D31} PKG_PATH=${.OBJDIR}/rep0 ${ADD_PKG} inta intb
+ @PKG_DBDIR=${D31}/pkgdb pkg_delete -Dnonroot -B ${D30} inta intb
+
plist1:
@echo "@owner "`id -un` >$@
@@ -330,6 +335,11 @@ rep0/mb-0.tgz:
${CREATE_PKG} -P't/ma:ma-*:ma-0' -f ${.CURDIR}/empty $@
rep1/mb-1.tgz:
${CREATE_PKG} -P't/ma:ma-*:ma-1' -f ${.CURDIR}/empty $@
+
+rep0/inta-0.tgz:
+ ${CREATE_PKG} -P't/intb:intb-*:intb-0' -f ${.CURDIR}/empty $@
+rep0/intb-0.tgz:
+ ${CREATE_PKG} -P't/inta:inta-*:inta-0' -f ${.CURDIR}/empty $@
rep1/o-1.tgz:
@${CREATE_PKG} -DREGRESSION_TESTING -P't/p:p-*:p-0' -W'coincoin.0.0' -f ${.CURDIR}/empty $@