summaryrefslogtreecommitdiff
path: root/test/py/tests/test_fs/test_basic.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-11-01 13:38:05 -0600
committerTom Rini <trini@konsulko.com>2024-11-01 13:38:05 -0600
commit8e5e64d55de9ed97875a0c1b7f293a0286d64312 (patch)
tree4888d5dd9db7a34fa6c49f507919a89f06e4a85a /test/py/tests/test_fs/test_basic.py
parent15a55dbff6d9b64178ccb7d12c0e0d24fa79f37a (diff)
parent29e5a2e9597234700420e8e93055861eba3b409c (diff)
Merge patch series "fs: ext4: implement opendir, readdir, closedir"
Heinrich Schuchardt <heinrich.schuchardt@canonical.com> says: With this series opendir, readdir, closedir are implemented for ext4. These functions are needed for the UEFI sub-system to interact with the ext4 file system. To reduce code growth the functions are reused to implement the ls command for ext4. A memory leak in ext4fs_exists is resolved. ext4fs_iterate_dir is simplified by removing a redundant pointer copy. Link: https://lore.kernel.org/r/20241026064048.370062-1-heinrich.schuchardt@canonical.com
Diffstat (limited to 'test/py/tests/test_fs/test_basic.py')
-rw-r--r--test/py/tests/test_fs/test_basic.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/py/tests/test_fs/test_basic.py b/test/py/tests/test_fs/test_basic.py
index 71f3e86fb18..b5f4704172a 100644
--- a/test/py/tests/test_fs/test_basic.py
+++ b/test/py/tests/test_fs/test_basic.py
@@ -33,10 +33,7 @@ class TestFsBasic(object):
# In addition, test with a nonexistent directory to see if we crash.
output = u_boot_console.run_command(
'%sls host 0:0 invalid_d' % fs_type)
- if fs_type == 'ext4':
- assert('Can not find directory' in output)
- else:
- assert('' == output)
+ assert('' == output)
def test_fs2(self, u_boot_console, fs_obj_basic):
"""