]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay/005: only run for xfs underlying fs
authorZorro Lang <zlang@kernel.org>
Fri, 15 Aug 2025 14:45:55 +0000 (22:45 +0800)
committerZorro Lang <zlang@kernel.org>
Fri, 15 Aug 2025 16:09:31 +0000 (00:09 +0800)
commitb076a3a72941538f6d42a6a7c993768562b65a59
tree453eaa15710788a72e3229ab841c89a317a3bc25
parent3e802fc7c387b06b1f64e09ed90aaa7f99bbb5a8
overlay/005: only run for xfs underlying fs

When we runs overlay/005 on a system without xfs module, it always
fails as "unknown filesystem type xfs", due to this case require xfs
to be the underlying fs explicitly:

  $MKFS_XFS_PROG -f -n ftype=1 $upper_loop_dev >>$seqres.full 2>&1

So notrun this case if the underlying fs isn't 'xfs'.

Reported-by: Philip Daly <pdaly@redhat.com>
Acked-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/overlay/005