]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: fix parsing the mksquashfs version number
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 24 May 2022 11:36:21 +0000 (13:36 +0200)
committerTom Rini <trini@konsulko.com>
Thu, 26 May 2022 14:32:27 +0000 (10:32 -0400)
commitd051a91c8dcb27a2f5377cee044d5376e91c372b
tree341b208be12c3fb680896d92a2417564f9886281
parentd9402bd49b9b2013ac48b5f4d82217d1628da797
test: fix parsing the mksquashfs version number

Testing with mksquasshfs 4.5.1 results in an error

    ValueError: could not convert string to float: '4.5.1'

Version 4.10 would be considered to be lower than 4.4.

Fixes: 04c9813e951f ("test/py: rewrite common tools for SquashFS tests")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
test/py/tests/test_fs/test_squashfs/sqfs_common.py