]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
test: fs: disable the metadata checksums on ext4 filesystems
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Wed, 13 Feb 2019 11:15:22 +0000 (12:15 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 9 Apr 2019 19:34:15 +0000 (15:34 -0400)
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>
test/py/tests/test_fs/conftest.py

index 43eeb4be0baf0a7b127996782d5a570b7874c3fd..745ed0ed3817f890bacf8dccfc6831f45abc60c2 100644 (file)
@@ -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 = ''