From a94f09971fe42eb37ee9a8cd3949bb8780a9522d Mon Sep 17 00:00:00 2001 From: sobomax Date: Tue, 28 May 2002 18:00:44 +0000 Subject: MFS: two more testcases highlighting recently discovered problem with version comparison routine. --- usr.sbin/pkg_install/version/test-pkg_version.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin/pkg_install') 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 -- cgit v1.1