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 2>&1 || _fai

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 2>&1 || _fail "dd failed" What about using a sparse file to speed up the test an

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