[U-Boot] [PATCH] test: fs: Add filesystem integrity checks

Tom Rini trini at konsulko.com
Tue Feb 5 13:45:11 UTC 2019


On Mon, Feb 04, 2019 at 12:19:19PM +0100, Jean-Jacques Hiblot wrote:
> We need to make sure that file writes,file creation, etc. are properly
> performed and do not corrupt the filesystem.
> To help with this, introduce the assert_fs_integrity() function that
> executes the appropriate fsck tool. It should be called at the end of any
> test that modifies the content/organization of the filesystem.
> Currently only supports FATs and EXT4.
> 
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot at ti.com>
> ---
> 
> While working on symlink I had noticed the need for automated check of the
> filesystem. It indeed helped catch a few corruption problems.
> 
> - SPOILER - this patch will turn some lights red in travis - SPOILER -

Oh fun.  Do you have a link to the travis failures?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190205/0c043c77/attachment.sig>


More information about the U-Boot mailing list