All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 0/5] Enhance fs tests
@ 2016-09-13 23:01 Stefan Brüns
  2016-09-14 13:32 ` Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Brüns @ 2016-09-13 23:01 UTC (permalink / raw)
  To: u-boot

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH v2 0/5] Enhance fs tests
  2016-09-13 23:01 [U-Boot] [PATCH v2 0/5] Enhance fs tests Stefan Brüns
@ 2016-09-14 13:32 ` Simon Glass
  2016-09-14 13:38   ` Tom Rini
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Glass @ 2016-09-14 13:32 UTC (permalink / raw)
  To: u-boot

Hi Stefan,

On 13 September 2016 at 17:01, Stefan Br?ns
<stefan.bruens@rwth-aachen.de> wrote:
> 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.

I think we should move these to pytest before enhancing them.

>
> 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
>

Regards,
Simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH v2 0/5] Enhance fs tests
  2016-09-14 13:32 ` Simon Glass
@ 2016-09-14 13:38   ` Tom Rini
  2016-09-14 14:22     ` Simon Glass
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2016-09-14 13:38 UTC (permalink / raw)
  To: u-boot

On Wed, Sep 14, 2016 at 07:32:47AM -0600, Simon Glass wrote:
> Hi Stefan,
> 
> On 13 September 2016 at 17:01, Stefan Br?ns
> <stefan.bruens@rwth-aachen.de> wrote:
> > 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.
> 
> I think we should move these to pytest before enhancing them.

For the moment, I disagree.  We have fs issues, and we're fixing fs
issues and getting tests while we're doing that is important.  It would
be good, and would make my (and everyone else that has one too) setup
easier if these were migrated but I don't want to blocks more tests on
having them be made into different but equivalent tests first.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot] [PATCH v2 0/5] Enhance fs tests
  2016-09-14 13:38   ` Tom Rini
@ 2016-09-14 14:22     ` Simon Glass
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Glass @ 2016-09-14 14:22 UTC (permalink / raw)
  To: u-boot

Hi Tom,

On 14 September 2016 at 07:38, Tom Rini <trini@konsulko.com> wrote:
> On Wed, Sep 14, 2016 at 07:32:47AM -0600, Simon Glass wrote:
>> Hi Stefan,
>>
>> On 13 September 2016 at 17:01, Stefan Br?ns
>> <stefan.bruens@rwth-aachen.de> wrote:
>> > 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.
>>
>> I think we should move these to pytest before enhancing them.
>
> For the moment, I disagree.  We have fs issues, and we're fixing fs
> issues and getting tests while we're doing that is important.  It would
> be good, and would make my (and everyone else that has one too) setup
> easier if these were migrated but I don't want to blocks more tests on
> having them be made into different but equivalent tests first.

Fair enough, I've seen the issues and these are not large additions.

Regards,
Simon

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-14 14:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-13 23:01 [U-Boot] [PATCH v2 0/5] Enhance fs tests Stefan Brüns
2016-09-14 13:32 ` Simon Glass
2016-09-14 13:38   ` Tom Rini
2016-09-14 14:22     ` Simon Glass

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.