Joel Sherrill 42cd4b0bde netshell01: New test and stop using old network configuration code
The old network configuration using a data structure does not
support IPV6 and does not support all of the network settings
that the FreeBSD command line utilities do. Transition to using
the network utilities like ifconfig, route, etc. to initialize
the NIC configuration.
2012-09-01 13:34:49 -05:00

31 lines
557 B
C

/*
* 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>
void print_test_name(void)
{
printf( "\n\n*** LIBFREEBSD NETWORK SHELL TEST ***\n" );
}
/*
* RTEMS Startup Task
*/
void test_main(void)
{
rtems_shell_env_t env = rtems_global_shell_env;
rtems_shell_main_loop( &env );
puts( "*** END OF NETWORK SHELL TEST ***" );
exit( 0 );
}