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 <[email protected]> --- 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 cec803256ac..7e7af9c6bf6 100644 --- a/test/py/tests/test_fs/test_erofs.py +++ b/test/py/tests/test_fs/test_erofs.py @@ -65,8 +65,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: @@ -76,7 +76,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 @@ -89,7 +89,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.55.0
