diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-11-16 15:15:16 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-11-16 15:15:16 +0000 |
commit | e4cf7a02de655b0094bfbde6ee8164279a33e8fc (patch) | |
tree | 32c9e14d3237311d958dd3c7437f4c0941441dc2 /regress | |
parent | e280106bc31bd2d79511e5e15791d784a7e3fb6b (diff) |
verify that fuzzy list stuff works
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.sbin/pkg_add/Makefile | 8 | ||||
-rw-r--r-- | regress/usr.sbin/pkg_add/list | 3 | ||||
-rw-r--r-- | regress/usr.sbin/pkg_add/list.out | 3 |
3 files changed, 13 insertions, 1 deletions
diff --git a/regress/usr.sbin/pkg_add/Makefile b/regress/usr.sbin/pkg_add/Makefile index f7561910caf..6a3b177fb1f 100644 --- a/regress/usr.sbin/pkg_add/Makefile +++ b/regress/usr.sbin/pkg_add/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2009/11/15 08:50:59 espie Exp $ +# $OpenBSD: Makefile,v 1.13 2009/11/16 15:15:15 espie Exp $ REGRESS_TARGETS=pkgnames depends-check longnames always-update \ collision-check3 @@ -70,6 +70,12 @@ always-update: old/g-0.0.tgz new/g-0.0.tgz ROOT=${D8} PKG_PATH=${.OBJDIR}/new ${PKG_ADD} -u PKG_DBDIR=${D8}/pkgdb pkg_info -qf g|fgrep -q comment2 +list-check: new/a-1.0.tgz new/b-1.0.tgz new/c-0.0.tgz new/d-0.0.tgz \ + new/e-0.0.tgz new/f-0.0.tgz new/g-0.0.tgz + -rm -rf ${D9} + ROOT=${D9} PKG_PATH=${.OBJDIR}/new ${PKG_ADD} -l ${.CURDIR}/list + PKG_DBDIR=${D9}/pkgdb pkg_info -q|diff - ${.CURDIR}/list.out + old/a-0.0.tgz: ${PKG_CREATE} -P'test/b:b-*:b-0.0' -f ${.CURDIR}/empty $@ diff --git a/regress/usr.sbin/pkg_add/list b/regress/usr.sbin/pkg_add/list new file mode 100644 index 00000000000..d26acd5894d --- /dev/null +++ b/regress/usr.sbin/pkg_add/list @@ -0,0 +1,3 @@ +a-0.0 $OpenBSD +c-5.0 stupid comment2 +d-2.5 blabla diff --git a/regress/usr.sbin/pkg_add/list.out b/regress/usr.sbin/pkg_add/list.out new file mode 100644 index 00000000000..27c46cea877 --- /dev/null +++ b/regress/usr.sbin/pkg_add/list.out @@ -0,0 +1,3 @@ +a-1.0 +c-0.0 +d-0.0 |