Re: [PATCH] Add some simple end-to-end tests for btrfs-convert.

2014-06-12 Thread David Sterba
On Fri, May 30, 2014 at 08:26:02PM +0200, Julien Muchembled wrote: Le 05/21/14 19:20, Adam Buchbinder a écrit : + # 256MB is the smallest acceptable btrfs image. + dd if=/dev/zero of=$here/test.img bs=1024 count=$((256*1024)) \ +convert-tests-results.txt 21 || _fail dd

Re: [PATCH] Add some simple end-to-end tests for btrfs-convert.

2014-05-30 Thread Julien Muchembled
Le 05/21/14 19:20, Adam Buchbinder a écrit : + # 256MB is the smallest acceptable btrfs image. + dd if=/dev/zero of=$here/test.img bs=1024 count=$((256*1024)) \ + convert-tests-results.txt 21 || _fail dd failed What about using a sparse file to speed up the test and be

Re: [PATCH] Add some simple end-to-end tests for btrfs-convert.

2014-05-28 Thread David Sterba
On Wed, May 21, 2014 at 10:20:27AM -0700, Adam Buchbinder wrote: These use the system's mke2fs, and don't require loop devices or root privileges. Nice, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-btrfs in the body of a message to majord...@vger.kernel.org More

[PATCH] Add some simple end-to-end tests for btrfs-convert.

2014-05-21 Thread Adam Buchbinder
These use the system's mke2fs, and don't require loop devices or root privileges. They don't pick up anything with the default flags right now, but they do pick up some sanitizer issues when the tools are compiled with any of -fsanitize={address,memory,thread}. Signed-off-by: Adam Buchbinder