From b076a3a72941538f6d42a6a7c993768562b65a59 Mon Sep 17 00:00:00 2001 From: Zorro Lang Date: Fri, 15 Aug 2025 22:45:55 +0800 Subject: [PATCH] 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 Acked-by: Amir Goldstein 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 4c11d5e1..d396b5cb 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.39.5