diff mbox series

[03/15] renameat2*: Remove kernel >= 3.15 check

Message ID 20240527063346.289771-4-pvorel@suse.cz
State Accepted
Headers show
Series Remove kernel >= 3.x checks | expand

Commit Message

Petr Vorel May 27, 2024, 6:33 a.m. UTC
Since 9e9654cf2 LTP supports kernel >= 4.4.

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/kernel/syscalls/renameat2/renameat201.c | 5 -----
 testcases/kernel/syscalls/renameat2/renameat202.c | 5 -----
 2 files changed, 10 deletions(-)
diff mbox series

Patch

diff --git a/testcases/kernel/syscalls/renameat2/renameat201.c b/testcases/kernel/syscalls/renameat2/renameat201.c
index 9832b1cdb..23ed5758a 100644
--- a/testcases/kernel/syscalls/renameat2/renameat201.c
+++ b/testcases/kernel/syscalls/renameat2/renameat201.c
@@ -100,11 +100,6 @@  int main(int ac, char **av)
 
 static void setup(void)
 {
-	if ((tst_kvercmp(3, 15, 0)) < 0) {
-		tst_brkm(TCONF, NULL,
-			"This test can only run on kernels that are 3.15. and higher");
-	}
-
 	tst_tmpdir();
 
 	fs_type = tst_fs_type(cleanup, ".");
diff --git a/testcases/kernel/syscalls/renameat2/renameat202.c b/testcases/kernel/syscalls/renameat2/renameat202.c
index 0c1457022..88db04762 100644
--- a/testcases/kernel/syscalls/renameat2/renameat202.c
+++ b/testcases/kernel/syscalls/renameat2/renameat202.c
@@ -78,11 +78,6 @@  int main(int ac, char **av)
 
 static void setup(void)
 {
-	if ((tst_kvercmp(3, 15, 0)) < 0) {
-		tst_brkm(TCONF, NULL,
-			"This test can only run on kernels that are 3.15. and higher");
-	}
-
 	tst_tmpdir();
 
 	fs_type = tst_fs_type(cleanup, ".");