Add config check for systems that do not support CONFIG_XFS_FS.
PATCH 1/1 Add config check for systems that do not support CONFIG_XFS_FS.
--- testcases/kernel/syscalls/file_attr/file_attr02.c | 4 ++++ testcases/kernel/syscalls/file_attr/file_attr03.c | 4 ++++ 2 files changed, 8 insertions(+)
testcases/kernel/syscalls/file_attr/file_attr02.c +4 -0
@@ -102,6 +102,10 @@ static struct tst_test test = { }, {} }, + .needs_kconfigs = (const char *[]) { +"CONFIG_XFS_FS" , +NULL + }, .bufs = (struct tst_buffers []) { {&attr, .size =sizeof (struct file_attr )}, {}
testcases/kernel/syscalls/file_attr/file_attr03.c +4 -0
@@ -69,6 +69,10 @@ static struct tst_test test = { {.type = "xfs"}, {} }, + .needs_kconfigs = (const char *[]) { +"CONFIG_XFS_FS" , +NULL + }, .bufs = (struct tst_buffers []) { {&attr, .size =sizeof (struct file_attr )}, {}
Signature · 5 lines
2.49.0 -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
There was a bug in the test library filesystem availability check, should have been fixed by:
commit 5e1e0e2d81e564df09542b7caa2a66928c05dd3a
Author: Cyril Hrubis <[email protected]> Date: Mon Oct 27 16:09:24 2025 +0100
lib/tst_test: Fix FS kernel supported check
Signature · 5 lines
Cyril Hrubis [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Hi!
Quoted 9 lines · Cyril Hrubis
Hi!
There was a bug in the test library filesystem availability check, should have been fixed by:commit
5e1e0e2d81e564df09542b7caa2a66928c05dd3aAuthor: Cyril Hrubis <[email protected]> Date: Mon Oct 27 16:09:24 2025 +0100
lib/tst_test: Fix FS kernel supported check
Should we reject the patch?
Signature · 7 lines
Andrea Cervesato SUSE QE Automation Engineer Linux [email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp
Yes, please!
stephen
He/His/Him
Quoted 21 lines · Andrea Cervesato
Hi!
Quoted 9 lines · Cyril Hrubis
Hi!
There was a bug in the test library filesystem availability check, should have been fixed by:commit
5e1e0e2d81e564df09542b7caa2a66928c05dd3aAuthor: Cyril Hrubis <[email protected]> Date: Mon Oct 27 16:09:24 2025 +0100
lib/tst_test: Fix FS kernel supported checkShould we reject the patch?
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
[email protected]
Signature · 1 line
Mailing list info: https://lists.linux.it/listinfo/ltp