diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-10-19 09:51:46 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-10-19 09:51:46 +0000 |
commit | 09ca7c4de717edafa0d952536d948151b0012f34 (patch) | |
tree | 926f1450f37841d08b1de5a999f7ff1a8b2a94cf /regress | |
parent | 0a10812922827afd2b9f2afe5b52b298147896c3 (diff) |
fix-up name of routine.
noticed by David Krause.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/usr.sbin/pkg_add/check-name | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/usr.sbin/pkg_add/check-name b/regress/usr.sbin/pkg_add/check-name index 0f9fe003acb..9b2220a40e4 100644 --- a/regress/usr.sbin/pkg_add/check-name +++ b/regress/usr.sbin/pkg_add/check-name @@ -1,11 +1,11 @@ #! /usr/bin/perl -# $OpenBSD: check-name,v 1.1 2004/02/21 19:07:29 espie Exp $ +# $OpenBSD: check-name,v 1.2 2004/10/19 09:51:45 espie Exp $ # Written by Marc Espie # Public domain use Test::Simple tests => 1; -use OpenBSD::PackageName; +use OpenBSD::PkgSpec; my @list=qw(py-MxDateTime-2.0.1-py2.1); -ok(OpenBSD::PackageName::pkgspec_match('py-MxDateTime->=2.0-py2.1', @list) == 1); +ok(OpenBSD::PkgSpec::match('py-MxDateTime->=2.0-py2.1', @list) == 1); |