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

Avinesh Kumar via ltp <[email protected]>
Newsgroups gmane.linux.ltp
Message-ID <[email protected]>
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-IBi9RG/[email protected]>
---
 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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.