From 421ef504e2f300f1ae21b1eadf16353df07d6fff Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 20 Apr 2022 12:09:46 +0000 Subject: [PATCH] it also breaks somewhat differently when files vanish, we still need a few checks --- regress/usr.sbin/pkg_add/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.20.1