]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
ext4/054: skip test if the dax mount option is enabled
authorTheodore Ts'o <tytso@mit.edu>
Thu, 30 Jun 2022 14:46:34 +0000 (10:46 -0400)
committerZorro Lang <zlang@kernel.org>
Sat, 2 Jul 2022 13:31:10 +0000 (21:31 +0800)
commit172b13b8e5c1981defcbfa19775abb239aefaad6
treec0d4e18bcfe4b30067ae599115cf68e86e537a71
parent1800121a017da3906f45fccb86789c2b59d4b5ef
ext4/054: skip test if the dax mount option is enabled

The ext4/054 test explicitly creates a file system with a 1k
blocksize.  This can't possibly work on if the dax mount option is
enabled, so change ext4/054 to use _scratch_mkfs_blocksized, and and a
check to _scratch_mkfs_blocksized to _notrun the test if the block
size is less than the page size.

Also remove an unnecessary _require_test declaration since this test
does not use the test device.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/rc
tests/ext4/054