1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-18 07:15:00 -05:00
pacman/test/util
Dan McGee 30d978a966 vercmp: ensure 2.0a and 2.0.a do not compare equal
We had this interesting set of facts conundrum, according to vercmp
return values:
    2.0a <  2.0
    2.0  <  2.0.a
    2.0a == 2.0.a

This introduces a code change that ensures '2.0a < 2.0.a' as would be
expected by the first two comparisons. Unfortunately this stays us a bit
further from upstream RPM code, but those are the breaks (in RPM, the
versions involving 'a' do in fact compare the same, but they are both
greater than the bare '2.0').

Signed-off-by: Dan McGee <dan@archlinux.org>
2011-08-23 01:49:29 -05:00
..
Makefile.am Add a test harness for new pacsort command 2011-08-08 16:55:01 -05:00
pacsorttest.sh Add a test harness for new pacsort command 2011-08-08 16:55:01 -05:00
vercmptest.sh vercmp: ensure 2.0a and 2.0.a do not compare equal 2011-08-23 01:49:29 -05:00