On 7/28/20 3:51 AM, Patrick Delaunay wrote: > Add basic test to persistent environment in ext4: > save and load in host ext4 file 'uboot.env'. > > On first execution an empty EXT4 file system is created in > persistent data dir: env.ext4.img.
> diff --git a/test/py/tests/test_env.py b/test/py/tests/test_env.py > +def mk_env_ext4(state_test_env): > + u_boot_utils.run_and_log(c, 'mkfs.ext4 -O ^metadata_csum %s' % > persistent) Is "-O ^metadata_csum" necessary? The mkfs.ext4 in Ubuntu 16.04 doesn't support that option, which causes this command to fail.