kernel_versions.version_encode mis-sorts _rcNN suffix in redhat-style kernel names.
Plus 4 other bugs in this function.
Risk: low, affects only presentation order in graphs.

Also added functions  is_released_kernel()  and  is_release_candidate() .

Tested by new unittest for this module, and by visual review of output of perf_graphs.cgi, and by visual review of manual dump of version_encode results for all kernel names now in our main Autotest tko database.

Signed-off-by: Duane Sand <duanes@google.com>




git-svn-id: http://test.kernel.org/svn/autotest/trunk@1621 592f7852-d20e-0410-864c-8624ca9c26a4
1 file changed