Whamcloud - gitweb
tests: test "mke2fs -E offset=N" filesystem size calculation
authorMarcus Huewe <suse-tux@gmx.de>
Thu, 12 May 2016 19:08:46 +0000 (15:08 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 12 May 2016 19:08:46 +0000 (15:08 -0400)
commit093d9b4006e37505df7df8de58ed4301b0719278
tree844cc65303ecb58547fad6ac88310c70a4751d28
parentfd80e987d7a62a4aee7a9a4fb167f707b312e9fa
tests: test "mke2fs -E offset=N" filesystem size calculation

If "mke2fs -E offset=N ..." is called without a specified filesystem size,
the offset should be subtracted from the default filesystem size (see
commit 87d9b2fb). If "mke2fs -E offset=N ..." is called with an
explicitly specified filesystem size, the specified filesystem size
should be used.

Also, call dd with the "iflag=fullblock" option, if it is going to read
from a pipe.

Signed-off-by: Marcus Huewe <suse-tux@gmx.de>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/t_mke2fs_offset/script