Skip to contentSkip to conversation

isofs: Add ISO9660 kernel config requirement

PATCH Applied Anders Roxell 3 participants 4 messages Oct 27, 2025 – Oct 30, 2025

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 isofs: Add ISO9660 kernel config requirement

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.

---
 testcases/kernel/fs/iso9660/isofs.sh | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/fs/iso9660/isofs.sh +1 -0
index 088e062d67c6..3f1426c5ee1f 100755
@@ -11,6 +11,7 @@
 
 TST_NEEDS_CMDS="mount umount"
 TST_NEEDS_TMPDIR=1
+TST_NEEDS_KCONFIGS="CONFIG_ISO9660_FS"
 TST_TESTFUNC=do_test
 TST_CNT=3
 TST_SETUP="setup"
Signature · 5 lines
2.51.0


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
Reviewed-by on v2 1/1
#2 lore raw
In reply to Anders Roxell

Hi all,

Quoted 19 lines

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.

---
 testcases/kernel/fs/iso9660/isofs.sh | 1 +
 1 file changed, 1 insertion(+)
testcases/kernel/fs/iso9660/isofs.sh +0 -0
index 088e062d67c6..3f1426c5ee1f 100755

testcases/kernel/fs/iso9660/isofs.sh line 15

Quoted 5 lines
testcases/kernel/fs/iso9660/isofs.sh +1 -0
@@ -11,6 +11,7 @@
 
 TST_NEEDS_CMDS="mount umount"
 TST_NEEDS_TMPDIR=1
 
+TST_NEEDS_KCONFIGS="CONFIG_ISO9660_FS"

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp
Applied
#3 lore raw

Hi all,

merged, thanks!

Kind regards,
Petr

Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp