btrfs-progs: tests: truncate test image to 0 first
authorDavid Sterba <dsterba@suse.com>
Tue, 23 Jan 2018 16:22:30 +0000 (17:22 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 31 Jan 2018 14:14:02 +0000 (15:14 +0100)
commit81dd246d953585c08984aa4b059d8c1ee1c8e715
tree3d7f7a0333af175c65abf756d1780ec54f34a1ba
parent07eafd93b27051f75a51cff634f8ed23858f6fa7
btrfs-progs: tests: truncate test image to 0 first

We use the prepare_test_dev helper to make sure the image has at least
this size. The "at least" part is not desired by some tests as the
device might be larger than the test expects.

Signed-off-by: David Sterba <dsterba@suse.com>
tests/common