shell test
This commit is contained in:
parent
f8d1ba1f69
commit
77af84f416
2 changed files with 9 additions and 5 deletions
|
@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Add table
Reference in a new issue