shell test

This commit is contained in:
Carl-Benedikt Krüger 2011-07-26 14:35:55 +02:00
parent b81429e542
commit 53b736e925
2 changed files with 7 additions and 2 deletions

View file

@ -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);
}

View file

@ -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