summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2009-12-31 13:31:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>2009-12-31 13:31:54 +0000
commitaefadd81088b9f3cd0383f86a2c19f23ef30097d (patch)
treec9d3b12eae3c5d429fc5ebebafc860e3baa48119 /regress
parent027a44a44d3d854a2ae070670f16f22281092264 (diff)
and yet another library check error
Diffstat (limited to 'regress')
-rw-r--r--regress/usr.sbin/pkg_add/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/regress/usr.sbin/pkg_add/Makefile b/regress/usr.sbin/pkg_add/Makefile
index 9962ee9d456..7790a9e6f8e 100644
--- a/regress/usr.sbin/pkg_add/Makefile
+++ b/regress/usr.sbin/pkg_add/Makefile
@@ -1,8 +1,9 @@
-# $OpenBSD: Makefile,v 1.27 2009/12/31 12:58:22 espie Exp $
+# $OpenBSD: Makefile,v 1.28 2009/12/31 13:31:53 espie Exp $
REGRESS_TARGETS=pkgnames depends-check longnames always-update \
collision-check3 partial-update-test conflict-update \
- merge-update split-update big-merge family-circus missing
+ merge-update split-update big-merge family-circus missing \
+ lib-report1 lib-report2 lib-report3
PKG_ADD=perl ${.CURDIR}/myadd
PKG_CREATE=perl ${.CURDIR}/mycreate
@@ -122,12 +123,17 @@ missing: rep1/missa-0.tgz rep1/missb-0.tgz rep1/missc-0.tgz rep1/missd-0.tgz rep
lib-report1: rep0/o1-0.tgz rep1/o1-1.tgz rep1/p1-0.tgz
@-rm -rf ${D17}
@ROOT=${D17} PKG_PATH=${.OBJDIR}/rep0 ${PKG_ADD} o1
- @ROOT=${D17} PKG_PATH=${.OBJDIR}/rep1 ${PKG_ADD} -u o1
+ -@ROOT=${D17} PKG_PATH=${.OBJDIR}/rep1 ${PKG_ADD} -u o1
lib-report2: rep0/o2-0.tgz rep1/o2-1.tgz rep1/p2-0.tgz
@-rm -rf ${D18}
@ROOT=${D18} PKG_PATH=${.OBJDIR}/rep0 ${PKG_ADD} o2
- @ROOT=${D18} PKG_PATH=${.OBJDIR}/rep1 ${PKG_ADD} -u o2
+ -@ROOT=${D18} PKG_PATH=${.OBJDIR}/rep1 ${PKG_ADD} -u o2
+
+lib-report3: rep0/o3-0.tgz
+ @-rm -rf ${D19}
+ -@ROOT=${D19} PKG_PATH=${.OBJDIR}/rep0 ${PKG_ADD} o3
+
plist1:
@echo "@owner "`whoami` >$@
@echo ${LONG1} >>$@
@@ -201,6 +207,9 @@ rep1/o1-1.tgz:
rep1/o2-1.tgz:
@${PKG_CREATE} -P't/p2:p2-*:p2-0' -W'coincoin.0' -f ${.CURDIR}/empty $@
+rep0/o3-0.tgz:
+ @${PKG_CREATE} -W'unlikelylibraryname.0.0' -f ${.CURDIR}/empty $@
+
rep1/p-0.tgz rep1/p1-0.tgz: plist8
@mkdir -p ${SRC13}/lib
@touch ${SRC13}/lib/libcoincoin.so.0.0
@@ -312,8 +321,7 @@ rep1/missf-0.tgz:
# some extra tests do not yet pass correctly
.PHONY: ${REGRESS_TARGETS} \
- collision-check1 collision-check2 collision-check4 collision-check5 \
- lib-report1 lib-report2
+ collision-check1 collision-check2 collision-check4 collision-check5
clean:
-rm -rf rep* dest* plist* src*