summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install/version/Makefile
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2001-04-03 21:26:32 +0000
committerbmah <bmah@FreeBSD.org>2001-04-03 21:26:32 +0000
commit4f88e7fcd90f450a557c395add903e19533236ae (patch)
treeeeddcc3a7c9d14472388f60c8a3ae0df76e7b44a /usr.sbin/pkg_install/version/Makefile
parent3feb61668d0a29fd82ff14abe50505ce076ce51d (diff)
downloadFreeBSD-src-4f88e7fcd90f450a557c395add903e19533236ae.zip
FreeBSD-src-4f88e7fcd90f450a557c395add903e19533236ae.tar.gz
Implement a package number comparison routine for pkg_version(1)
that actually conforms to the Porters Handbook. Add a -t option to pkg_version(1) for doing comparison testing. Add a script (and make test target) to do some regression tests on the package number comparison routine, to help debug future revisions. Submitted by: knu Procrastination by: bmah
Diffstat (limited to 'usr.sbin/pkg_install/version/Makefile')
-rw-r--r--usr.sbin/pkg_install/version/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/version/Makefile b/usr.sbin/pkg_install/version/Makefile
index 0fb044a..b9c4d1c 100644
--- a/usr.sbin/pkg_install/version/Makefile
+++ b/usr.sbin/pkg_install/version/Makefile
@@ -7,4 +7,7 @@ beforeinstall:
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
${.CURDIR}/pkg_version.pl ${DESTDIR}${BINDIR}/pkg_version
+test:
+ ./test-pkg_version.sh
+
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud