diff --git a/kernel/shell.c b/kernel/shell.c index 30fa741b..a7a8a51d 100644 --- a/kernel/shell.c +++ b/kernel/shell.c @@ -68,7 +68,5 @@ void shell_init(int srv_or_cli) sleep(1); } - sleep(10); - SHELLDEBUGPRINTF("hello World! I AM CORE NO. %d =) \n",srv_or_cli); } diff --git a/kernel/tests.c b/kernel/tests.c index 74817e69..c2952691 100644 --- a/kernel/tests.c +++ b/kernel/tests.c @@ -411,6 +411,7 @@ return NULL; int test_init(void) { + int i = 0; kprintf("start testing"); // if (!get_core_no()) @@ -420,6 +421,9 @@ int test_init(void) shell_init(get_core_no()); + sleep(10); + SHELLDEBUGPRINTF("hello World! I AM CORE NO. %d =) \n",srv_or_cli); + if (get_core_no()) { sleep(5); @@ -427,6 +431,9 @@ int test_init(void) sleep(5); shelldebugprint("sleeped another 5 seconds\n"); shelldebugprint("This is so wonderfull!\nEverything is so well formated."); + + for (i = 0; i < 10; i++) + SHELLDEBUGPRINTF("for-Schleife-no: %d\n",i); } #if 0