Whamcloud - gitweb
tests: fix u_direct_io to work with older losetup
authorAndreas Dilger <adilger@whamcloud.com>
Sat, 7 Jan 2023 04:45:27 +0000 (21:45 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 7 Jan 2023 04:47:57 +0000 (21:47 -0700)
commit6fb4fd6aa919086a515cbaf3e156927b7900fddb
treef9d17660c3d1d1a4936bab94e0b0bc878294fc38
parent4ae43732a55363ea382d0e2f049948c3014f80e9
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@whamcloud.com>
tests/u_direct_io/expect
tests/u_direct_io/script