Use compare_versions() in check_glibc() and check_kernel_ver()

Current version comparsion in check_glibc() and check_kernel_ver() may
think 2.11 is older than 2.5, so use the utils.compare_versions() to
solve it.

Signed-off-by: Jason Wang <jasowang@redhat.com>


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