[LTP] [PATCH] swapping01.c: use .needs_abi_bits = 64

Avinesh Kumar avinesh.kumar@suse.com
Tue Jun 23 22:03:35 CEST 2026


As this test is not designed for 32-bit systems, so this follow
commit 6b7ccccbdaf8 ("swapping01: Use .skip_in_compat = 1")

.skip_in_compat misses native 32-bit; .needs_abi_bits = 64 covers both.

Signed-off-by: Avinesh Kumar <avinesh.kumar@suse.com>
---
 testcases/kernel/mem/swapping/swapping01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/kernel/mem/swapping/swapping01.c b/testcases/kernel/mem/swapping/swapping01.c
index c773f2226..b1489b7cf 100644
--- a/testcases/kernel/mem/swapping/swapping01.c
+++ b/testcases/kernel/mem/swapping/swapping01.c
@@ -174,7 +174,7 @@ static struct tst_test test = {
 	.min_mem_avail = 10,
 	.runtime = 600,
 	.test_all = test_swapping,
-	.skip_in_compat = 1,
+	.needs_abi_bits = 64,
 	.needs_kconfigs = (const char *[]) {
 		"CONFIG_SWAP=y",
 		NULL
-- 
2.54.0



More information about the ltp mailing list