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 Signed-off-by: Zorro Lang --- tests/overlay/005 | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/overlay/005 b/tests/overlay/005 index 4c11d5e1b..d396b5cb2 100755 --- a/tests/overlay/005 +++ b/tests/overlay/005 @@ -31,6 +31,7 @@ _cleanup() # them explicity after test. _require_scratch_nocheck _require_loop +[ "$OVL_BASE_FSTYP" = "xfs" ] || _notrun "The underlying fs should be xfs" # Remove all files from previous tests _scratch_mkfs -- 2.49.0