blob: f5ae01b427ac845b694b5914b57ec415c346ce76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* This is the body of the test. It does not do much except ensure
* that the target is alive after initializing the TCP/IP stack.
*/
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <rtems/shell.h>
#define TEST_NAME "LIBBSD NETSHELL 1"
/*
* RTEMS Startup Task
*/
static void test_main(void)
{
rtems_shell_env_t env;
memset(&env, 0, sizeof(env));
rtems_shell_main_loop( &env );
exit( 0 );
}
#include <rtems/bsd/test/default-init.h>
|