summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2021-07-29 19:10:23 +0300
committerTom Rini <trini@konsulko.com>2021-07-29 19:10:55 +0300
commit15f7e0dc01d8a851fb1bfbf0e47eab5b67ed26b3 (patch)
treea05518590771cfaff996f35856b9d9d8edfa7221 /test
parent38436abd5e58044eccddbcd7ec3610a9104e86b6 (diff)
parent62b27a561c2868d95445905ad554297e43cc0f2b (diff)
downloadu-boot-15f7e0dc01d8a851fb1bfbf0e47eab5b67ed26b3.tar.xz
Merge branch '2021-07-28-assorted-fixes'
- Assorted bugfixes
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_fs/test_squashfs/sqfs_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/tests/test_fs/test_squashfs/sqfs_common.py b/test/py/tests/test_fs/test_squashfs/sqfs_common.py
index 267c4b57d1..8b84c2cdca 100644
--- a/test/py/tests/test_fs/test_squashfs/sqfs_common.py
+++ b/test/py/tests/test_fs/test_squashfs/sqfs_common.py
@@ -146,7 +146,7 @@ def get_mksquashfs_version():
out = subprocess.run(['mksquashfs -version'], shell=True, check=True,
capture_output=True, text=True)
# 'out' is: mksquashfs version X (yyyy/mm/dd) ...
- return float(out.stdout.split()[2])
+ return float(out.stdout.split()[2].split('-')[0])
def check_mksquashfs_version():
""" Checks if mksquashfs meets the required version. """