commit | aeb7e66f6183f56b2faaea1e653e084c9a14090c | [log] [tgz] |
---|---|---|
author | Marek BehĂșn <marek.behun@nic.cz> | Thu Jul 22 22:52:05 2021 +0200 |
committer | Tom Rini <trini@konsulko.com> | Wed Jul 28 20:46:34 2021 -0400 |
tree | ee50f6d86aea7c9e3f76ca901be42ca925d46261 | |
parent | 8210d0c10c80779b178a17115dee847958b9a912 [diff] |
test/py: Improve check for mksquashfs version Some builds of squashfs-tools append version string with "-git" or similar. The float() conversion will fail in this case. Improve the code to only convert to float() the string before the '-' character. Signed-off-by: Marek BehĂșn <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Joao Marcos Costa <jmcosta944@gmail.com>