]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
tests: fix u_direct_io to work with older losetup
authorAndreas Dilger <adilger@dilger.ca>
Tue, 10 Jan 2023 04:05:35 +0000 (21:05 -0700)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Mar 2023 02:46:30 +0000 (22:46 -0400)
commit46413097b9ae8c14d1a4f16b43106eaa3ac4c16a
tree819ddfb36d02c348fa33ebcadebd8ed6a8647b92
parenta06369183565bccbbba9a47b6c55622da8a1de85
tests: fix u_direct_io to work with older losetup

Older losetup does not have --sector-size, but this isn't really
needed for the test to work.  Instead specify the filesystem block
size directly to mke2fs, so that it works on all distros instead
of being skipped.

Change-Id: I5a0c82a9efdefd1b48f4d4288998c7725c9ae71e
Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
tests/u_direct_io/expect
tests/u_direct_io/script