[PATCH 9/9] test: test_erofs: adjust expected ls output
Heinrich Schuchardt
heinrich.schuchardt at canonical.com
Mon May 18 07:57:28 CEST 2026
With the addition of the date field the space between columns in the ls
output has been reduced. Reflect this in the expected lines of the erofs
test.
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt at canonical.com>
---
test/py/tests/test_fs/test_erofs.py | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/test/py/tests/test_fs/test_erofs.py b/test/py/tests/test_fs/test_erofs.py
index a2bb6b505f2..0531f99cd9c 100644
--- a/test/py/tests/test_fs/test_erofs.py
+++ b/test/py/tests/test_fs/test_erofs.py
@@ -73,8 +73,8 @@ def erofs_ls_at_root(ubman):
slash = ubman.run_command('erofsls host 0 /')
assert no_slash == slash
- expected_lines = ['./', '../', '4096 f4096', '7812 f7812', 'subdir/',
- '<SYM> symdir', '<SYM> symfile', '4 file(s), 3 dir(s)']
+ expected_lines = ['./', '../', '4096 f4096', '7812 f7812', 'subdir/',
+ '<SYM> symdir', '<SYM> symfile', '4 file(s), 3 dir(s)']
output = ubman.run_command('erofsls host 0')
for line in expected_lines:
@@ -84,7 +84,7 @@ def erofs_ls_at_subdir(ubman):
"""
Test if the path resolution works.
"""
- expected_lines = ['./', '../', '100 subdir-file', '1 file(s), 2 dir(s)']
+ expected_lines = ['./', '../', '100 subdir-file', '1 file(s), 2 dir(s)']
output = ubman.run_command('erofsls host 0 subdir')
for line in expected_lines:
assert line in output
@@ -97,7 +97,7 @@ def erofs_ls_at_symlink(ubman):
output_subdir = ubman.run_command('erofsls host 0 subdir')
assert output == output_subdir
- expected_lines = ['./', '../', '100 subdir-file', '1 file(s), 2 dir(s)']
+ expected_lines = ['./', '../', '100 subdir-file', '1 file(s), 2 dir(s)']
for line in expected_lines:
assert line in output
--
2.53.0
More information about the U-Boot
mailing list