@@ -75,8 +75,6 @@ void cleanup();
char *TCID = "mlockall01";
int TST_TOTAL = 3;
-#if !defined(UCLINUX)
-
struct test_case_t {
int flag;
char *fdesc;
@@ -127,16 +125,6 @@ int main(int ac, char **av)
tst_exit();
}
-#else
-
-int main(void)
-{
- tst_resm(TINFO, "test is not available on uClinux");
- tst_exit();
-}
-
-#endif
-
/*
* setup() - performs all ONE TIME setup for this test.
*/
@@ -99,8 +99,6 @@ struct test_case_t {
0, EINVAL, "Unknown flag"}
};
-#if !defined(UCLINUX)
-
int main(int ac, char **av)
{
int lc, i;
@@ -258,13 +256,3 @@ void cleanup(void)
{
return;
}
-
-#else
-
-int main(void)
-{
- tst_resm(TINFO, "test is not available on uClinux");
- tst_exit();
-}
-
-#endif /* if !defined(UCLINUX) */
@@ -92,8 +92,6 @@ void cleanup();
char *TCID = "mlockall03";
int TST_TOTAL = 3;
-#if !defined(UCLINUX)
-
char *ref_release = "2.6.8\0";
struct test_case_t {
@@ -286,16 +284,6 @@ void cleanup_test(int i)
}
}
-#else
-
-int main(void)
-{
- tst_resm(TINFO, "test is not available on uClinux");
- tst_exit();
-}
-
-#endif /* if !defined(UCLINUX) */
-
/*
* cleanup() - performs all ONE TIME cleanup for this test at
* completion or premature exit.
Signed-off-by: Petr Vorel <pvorel@suse.cz> --- testcases/kernel/syscalls/mlockall/mlockall01.c | 12 ------------ testcases/kernel/syscalls/mlockall/mlockall02.c | 12 ------------ testcases/kernel/syscalls/mlockall/mlockall03.c | 12 ------------ 3 files changed, 36 deletions(-)