[U-Boot] [PATCH v2 0/5] Enhance fs tests

Stefan Brüns stefan.bruens at rwth-aachen.de
Wed Sep 14 01:01:26 CEST 2016


The first 3 patches do some cleanups for the current test, especially TC11
had some issues (strange match for expected output, use of unitialized
variable).

The last two patches add test cases for handling ".". Ext4 used to crash,
as a match on the first entry of a directory block was not handled
correctly.

v2:
  Updated:
    test/fs: Restructure file path specification to allow some flexibility
      * avoid creation of paths with double slashes
    test/fs: Check writes using "." (same dir) relative path
      * fix issues copied from TC11
      * delete written file in cleanup
  Added:
    test/fs: remove use of undefined WRITE_FILE variable
    test/fs: strip noise from filesystem code prior to checking results

Stefan Brüns (5):
  test/fs: Restructure file path specification to allow some flexibility
  test/fs: remove use of undefined WRITE_FILE variable
  test/fs: strip noise from filesystem code prior to checking results
  test/fs: Check ext4 behaviour if dirent is first entry in directory
    block
  test/fs: Check writes using "." (same dir) relative path

 test/fs/fs-test.sh | 131 +++++++++++++++++++++++++++++++----------------------
 1 file changed, 78 insertions(+), 53 deletions(-)

-- 
2.10.0



More information about the U-Boot mailing list