diff --git a/kernel/shell.c b/kernel/shell.c index 910671bd..0162f68a 100644 --- a/kernel/shell.c +++ b/kernel/shell.c @@ -66,11 +66,6 @@ void shell_init(int srv_or_cli) cli_init(&cli); while (cli_ConnectTo(&cli,"192.168.0.1",23,0)); sleep(1); - - sleep(5); - shelldebugprint("sleeped 5 seconds\n"); - sleep(5); - shelldebugprint("sleeped another 5 seconds\n"); } } diff --git a/kernel/tests.c b/kernel/tests.c index 17a930e8..74817e69 100644 --- a/kernel/tests.c +++ b/kernel/tests.c @@ -420,6 +420,15 @@ int test_init(void) shell_init(get_core_no()); + if (get_core_no()) + { + sleep(5); + shelldebugprint("sleeped 5 seconds\n"); + sleep(5); + shelldebugprint("sleeped another 5 seconds\n"); + shelldebugprint("This is so wonderfull!\nEverything is so well formated."); + } + #if 0 char* argv[] = {"/bin/tests", NULL};