diff options
author | Dan McGee <dan@archlinux.org> | 2008-07-23 06:41:50 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-07-25 05:16:28 +0200 |
commit | 5e4882dfe8b62a8cb7c206986d1010195a63d74e (patch) | |
tree | 9a4ed779c610670bbd272b88087555fb3c432379 /doc/pacman.8.txt | |
parent | 075b244be23aa788ae21e8c5d50cb99a1296c37f (diff) | |
download | pacman-5e4882dfe8b62a8cb7c206986d1010195a63d74e.tar.gz pacman-5e4882dfe8b62a8cb7c206986d1010195a63d74e.tar.xz |
Fix vercmp and add additional tests
This vercmp issue has been a sticking point but this should resolve many of
the issues that have come up. Only a few minor code changes were necessary
to get the behavior we desired, and this version appears to beat any other
vercmp rendition on a few more cases added in this commit.
This commit passes all 58 vercmp tests currently out there. Other 'fixes'
still fail on a few tests, namely these ones:
test: ver1: 1.5.a ver2: 1.5 ret: -1 expected: 1
==> FAILURE
test: ver1: 1.5 ver2: 1.5.a ret: 1 expected: -1
==> FAILURE
test: ver1: 1.5-1 ver2: 1.5.b ret: 1 expected: -1
==> FAILURE
test: ver1: 1.5.b ver2: 1.5-1 ret: -1 expected: 1
==> FAILURE
4 of 58 tests failed
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc/pacman.8.txt')
-rw-r--r-- | doc/pacman.8.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/pacman.8.txt b/doc/pacman.8.txt index 9e56a54e..0a632ea9 100644 --- a/doc/pacman.8.txt +++ b/doc/pacman.8.txt @@ -67,7 +67,7 @@ You can also use `pacman -Su` to upgrade all packages that are out of date. See to determine which packages need upgrading. This behavior operates as follows: Alphanumeric: - 1.0 < 1.0a < 1.0alpha < 1.0b < 1.0beta < 1.0p < 1.0pre < 1.0rc + 1.0a < 1.0alpha < 1.0b < 1.0beta < 1.0p < 1.0pre < 1.0rc < 1.0 Numeric: 1 < 1.0 < 1.1 < 1.1.1 < 1.2 < 2.0 < 3.0.0 |