Re: [PATCH 3/3] [XFSQA] Test writing to ENOSPC

Christoph Hellwig
2009-03-16T06:28:18Z

On Sun, Mar 15, 2009 at 09:49:41PM +1100, Dave Chinner wrote:
> Use larger files and different writing styles to fill
> a 100MB filesystem to being full. In each case we should
> get very close to the filesystem being full before getting
> ENOSPC. THis tests different types of ENOSPC failures to
> test 203 and requires more changes to pass.

Looks good. But don't we actually need a trap handler to unmount the
scratch partitions if the test gets intterupted? I always added them
to my tests, copying that fragment from older patches. (also applies
to the previous patch)