]> git.sur5r.net Git - u-boot/commit
test/fs: Check ext4 behaviour if dirent is first entry in directory block
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Tue, 13 Sep 2016 23:01:30 +0000 (01:01 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 23 Sep 2016 12:57:44 +0000 (08:57 -0400)
commit14678b3c6280a1a024afa0b5564deb853eca44d0
tree0b51015a3b90b82d7c57c5d9a28cba0f177e64c5
parentd9554b7f4bcbf8310e364b05b900e464d5e1ac47
test/fs: Check ext4 behaviour if dirent is first entry in directory block

This is a regression test for a crash happening if the first dirent
in the block matches. Code tried to access a predecessor entry which
does not exist.
The crash happened for any block, but "." is always the first entry in
the first directory block and thus easy to check for.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
test/fs/fs-test.sh