diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2022-04-20 12:09:47 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2022-04-20 12:09:47 +0000 |
commit | 03cec8533ef10afee937e82d456bce15e7ccbd1e (patch) | |
tree | 64caac8b7203333b54a82a76d0a8adebcca43932 /regress/usr.sbin/pkg_add | |
parent | cefc080d6ef5721457172b1641d1e2d7a38b1e7e (diff) |
it also breaks somewhat differently when files vanish, we still need
a few checks
Diffstat (limited to 'regress/usr.sbin/pkg_add')
-rw-r--r-- | regress/usr.sbin/pkg_add/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/regress/usr.sbin/pkg_add/Makefile b/regress/usr.sbin/pkg_add/Makefile index f669f167a46..b8f7679de00 100644 --- a/regress/usr.sbin/pkg_add/Makefile +++ b/regress/usr.sbin/pkg_add/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.81 2022/04/20 09:58:19 espie Exp $ +# $OpenBSD: Makefile,v 1.82 2022/04/20 12:09:46 espie Exp $ REGRESS_TARGETS=pkgnames pkgpaths signatures depends-check longnames pkgcfl \ collision-check1 collision-check2 collision-check3 \ @@ -783,6 +783,14 @@ symlink: rep0/sym-0.tgz @rm ${D47}/usr/local/a @ROOT=${D47} ${ADD_PKG} -r -Dinstalled rep0/sym-0.tgz +no-symlink: rep1/d-0.tgz + @-rm -rf ${D48} + @ROOT=${D48} ${ADD_PKG} rep1/d-0.tgz + @rm -f ${D48}/usr/local/f /usr/local/a + @ROOT=${D48} ${ADD_PKG} -r -Dinstalled rep1/d-0.tgz + @test -f ${D48}/usr/local/f + @test -f ${D48}/usr/local/a + clean: -rm -rf rep* dest* plist* src* signatures.out *.ref *.out -${SUDO} rm -rf rep* dest* plist* src* signatures.out *.ref *.out |