1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 00:08:50 -05:00
pacman/doc
Dan McGee 5e4882dfe8 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>
2008-07-24 22:16:28 -05:00
..
.gitignore doc: add symlink for repo-remove manpage on install 2008-01-05 14:37:24 -06:00
asciidoc.conf doc: rename manlink macro to linkman 2007-12-29 00:24:15 -06:00
Doxyfile Doxyfile : enable JAVADOC_AUTOBRIEF. 2008-04-29 15:51:48 -05:00
footer.txt Various updates needed prior to a new release 2008-06-08 13:50:01 -05:00
libalpm.3.txt doc: rename manlink macro to linkman 2007-12-29 00:24:15 -06:00
Makefile.am Allow use of GIT_VERSION in documentation dir 2008-06-08 17:26:02 -05:00
makepkg.8.txt Remove --builddeps from makepkg 2008-05-13 16:01:34 -05:00
makepkg.conf.5.txt Make strip paths configurable 2008-07-20 19:06:14 -05:00
pacman.8.txt Fix vercmp and add additional tests 2008-07-24 22:16:28 -05:00
pacman.conf.5.txt Various updates needed prior to a new release 2008-06-08 13:50:01 -05:00
PKGBUILD-example.txt Various updates needed prior to a new release 2008-06-08 13:50:01 -05:00
PKGBUILD.5.txt Add information on version comparison to manpages 2008-06-19 19:28:56 -05:00
repo-add.8.txt scripts: add -q/--quiet option to repo-add and repo-remove 2008-05-10 00:48:55 -05:00