summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJean-Jacques Hiblot <jjhiblot@ti.com>2019-02-13 12:15:22 +0100
committerTom Rini <trini@konsulko.com>2019-04-09 15:34:15 -0400
commit5cfc73e6e29f37a3a8daf5fd28bc4d5d015f778c (patch)
tree8b6950eeee1a57168527248405347a9d0671f21d /test
parentd5aee659f217746395ff58adf3a863627ff02ec1 (diff)
downloadu-boot-5cfc73e6e29f37a3a8daf5fd28bc4d5d015f778c.tar.gz
u-boot-5cfc73e6e29f37a3a8daf5fd28bc4d5d015f778c.tar.bz2
u-boot-5cfc73e6e29f37a3a8daf5fd28bc4d5d015f778c.zip
test: fs: disable the metadata checksums on ext4 filesystems
If the metadata checksums are enabled, all write operations will fail. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'test')
-rw-r--r--test/py/tests/test_fs/conftest.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/py/tests/test_fs/conftest.py b/test/py/tests/test_fs/conftest.py
index 43eeb4be0b..745ed0ed38 100644
--- a/test/py/tests/test_fs/conftest.py
+++ b/test/py/tests/test_fs/conftest.py
@@ -143,6 +143,8 @@ def mk_fs(config, fs_type, size, id):
mkfs_opt = '-F 16'
elif fs_type == 'fat32':
mkfs_opt = '-F 32'
+ elif fs_type == 'ext4':
+ mkfs_opt = '-O ^metadata_csum'
else:
mkfs_opt = ''