summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pkg_install
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-05-28 18:00:44 +0000
committersobomax <sobomax@FreeBSD.org>2002-05-28 18:00:44 +0000
commita94f09971fe42eb37ee9a8cd3949bb8780a9522d (patch)
tree773ab1911ec5e1717b2aea53fcac889ddf807623 /usr.sbin/pkg_install
parent766d7f4a54efde640dc6decb9da0488cae5631d8 (diff)
downloadFreeBSD-src-a94f09971fe42eb37ee9a8cd3949bb8780a9522d.zip
FreeBSD-src-a94f09971fe42eb37ee9a8cd3949bb8780a9522d.tar.gz
MFS: two more testcases highlighting recently discovered problem with version
comparison routine.
Diffstat (limited to 'usr.sbin/pkg_install')
-rwxr-xr-xusr.sbin/pkg_install/version/test-pkg_version.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/version/test-pkg_version.sh b/usr.sbin/pkg_install/version/test-pkg_version.sh
index 3cfaea1..081f559 100755
--- a/usr.sbin/pkg_install/version/test-pkg_version.sh
+++ b/usr.sbin/pkg_install/version/test-pkg_version.sh
@@ -67,6 +67,8 @@ test-pv 5.0a ">" 5.0.b number/letter
test-pv 1.5_1 ">" 1.5 portrevision
test-pv 1.5_2 ">" 1.5_1 portrevision
+test-pv 1.5_1 "<" 1.5.0.1 portrevision
+test-pv 1.5 "<" 1.5.0.1 portrevision
test-pv 00.01.01,1 ">" 99.12.31 portepoch
test-pv 0.0.1_1,2 ">" 0.0.1,2 portrevision/portepoch
OpenPOWER on IntegriCloud