source: rtems-libbsd/testsuite/netshell01/test_main.c @ 9219a29

4.1155-freebsd-126-freebsd-12freebsd-9.3
Last change on this file since 9219a29 was 9219a29, checked in by Sebastian Huber <sebastian.huber@…>, on 04/17/14 at 07:45:20

Update due to shell API changes

  • Property mode set to 100644
File size: 514 bytes
Line 
1/*
2 *  This is the body of the test. It does not do much except ensure
3 *  that the target is alive after initializing the TCP/IP stack.
4 */
5
6#include <stdio.h>
7#include <stdarg.h>
8#include <stdlib.h>
9#include <string.h>
10#include <errno.h>
11
12#include <rtems/shell.h>
13
14#define TEST_NAME "LIBBSD NETSHELL 1"
15
16/*
17 * RTEMS Startup Task
18 */
19static void test_main(void)
20{
21  rtems_shell_env_t env;
22
23  memset(&env, 0, sizeof(env));
24  rtems_shell_main_loop( &env );
25
26  exit( 0 );
27}
28
29#include <rtems/bsd/test/default-init.h>
Note: See TracBrowser for help on using the repository browser.