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
1 file changed
tree: b921f143ccc4d483e53c24cc5516bc1cbba68b27
  1. bin/
  2. deps/
  3. mirror/
  4. profilers/
  5. samples/
  6. tests/
  7. tko/
  8. tools/
  9. ui/
  10. DCO
  11. LICENSE