[LTP] [PATCH] isofs: Add ISO9660 kernel config requirement

Anders Roxell anders.roxell@linaro.org
Fri Oct 24 14:56:49 CEST 2025


The isofs test requires ISO9660 filesystem support to test mounting and
accessing ISO images. Without CONFIG_ISO9660_FS enabled, the test fails
with "unknown filesystem type 'iso9660'" errors during mount attempts,
resulting in 140 failed test cases.

Add the CONFIG_ISO9660_FS kernel configuration requirement to ensure the
test properly skips with TCONF on systems without ISO9660 support,
either built-in or as a module.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 testcases/kernel/fs/iso9660/isofs.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/testcases/kernel/fs/iso9660/isofs.sh b/testcases/kernel/fs/iso9660/isofs.sh
index 088e062d67c6..c66a284cebf1 100755
--- a/testcases/kernel/fs/iso9660/isofs.sh
+++ b/testcases/kernel/fs/iso9660/isofs.sh
@@ -11,6 +11,7 @@
 
 TST_NEEDS_CMDS="mount umount"
 TST_NEEDS_TMPDIR=1
+TST_NEEDS_KCONFIGS="CONFIG_ISO9660_FS=y | CONFIG_ISO9660_FS=m"
 TST_TESTFUNC=do_test
 TST_CNT=3
 TST_SETUP="setup"
-- 
2.51.0



More information about the ltp mailing list