]> code.ossystems Code Review - openembedded-core.git/commit
oeqa/selftest: add test for package manager version comparison
authorRoss Burton <ross.burton@intel.com>
Tue, 2 May 2017 12:42:08 +0000 (13:42 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 16 May 2017 13:08:15 +0000 (14:08 +0100)
commit0bf875ea234bb9ff50d347345782e14d6b7d3ff9
tree25730248a08d438639de51046151004edb3645eb
parent9ebeb374e49ecedecba8fe16fff3717edbc41994
oeqa/selftest: add test for package manager version comparison

This test case verifies that opkg, dpkg, and rpm all have the same behaviour for
version ordering, specifically the behaviour of ~ which should be sorting
*before* nothing:

  1.0 < 2.0~pre < 2.0 < 2.0-fix

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/lib/oeqa/selftest/package.py [new file with mode: 0644]