[LTP] [PATCH 24/31] setgroups04: Remove UCLINUX

Petr Vorel pvorel@suse.cz
Thu Apr 11 16:30:18 CEST 2024


Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/kernel/syscalls/setgroups/setgroups04.c | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/testcases/kernel/syscalls/setgroups/setgroups04.c b/testcases/kernel/syscalls/setgroups/setgroups04.c
index 93a064cda..71e2ca105 100644
--- a/testcases/kernel/syscalls/setgroups/setgroups04.c
+++ b/testcases/kernel/syscalls/setgroups/setgroups04.c
@@ -84,8 +84,6 @@ GID_T groups_list[NGROUPS];
 void setup();			/* setup function for the test */
 void cleanup();			/* cleanup function for the test */
 
-#if !defined(UCLINUX)
-
 int main(int ac, char **av)
 {
 	int lc;
@@ -135,16 +133,6 @@ int main(int ac, char **av)
 
 }
 
-#else
-
-int main(void)
-{
-	tst_resm(TINFO, "test is not available on uClinux");
-	tst_exit();
-}
-
-#endif /* if !defined(UCLINUX) */
-
 /*
  * setup()
  */
-- 
2.43.0



More information about the ltp mailing list