commit | ce5ae56cfa6343a7d388d8ff047db8d474f80adf | [log] [tgz] |
---|---|---|
author | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Thu Oct 12 04:42:57 2006 +0000 |
committer | mbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4> | Thu Oct 12 04:42:57 2006 +0000 |
tree | b921f143ccc4d483e53c24cc5516bc1cbba68b27 | |
parent | 0d67fa85e3e06aec8c8a1b6299928d037bb7c0c4 [diff] |
Fix up glibc version checking Scenario: check_glibc_ver('2.5.1') re.search(r'(\d+\.\d+(\.\d+)?)', glibc_ver).group() returns 2.5 [..] then we do size = min(len(glibc_ver), len(ver2)) and we end up after checking only first two numbers... From: Michal Piotrowski <michal.k.k.piotrowski@gmail.com> git-svn-id: http://test.kernel.org/svn/autotest/trunk@339 592f7852-d20e-0410-864c-8624ca9c26a4