summaryrefslogtreecommitdiffstats
path: root/testsuite/netshell01/test_main.c
blob: e0eabe8ae95e896f53de8753336fe1690bbda691 (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
/*
 *  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 = rtems_global_shell_env;

  rtems_shell_main_loop( &env );

  exit( 0 );
}

#include <rtems/bsd/test/default-init.h>