Joel Sherrill e717e81793 link01 - Clean up and split so initialization can be reused in other tests
Removed building link_r since we appear to have managed to resolve
not pulling in enough of the FreeBSD source or having adequate
adapter routines.
2012-07-26 07:18:19 -05:00

24 lines
474 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 <bsp.h>
#include <stdlib.h>
#include <stdio.h>
#include <freebsd/bsd.h>
void print_test_name(void)
{
printf( "\n\n*** LIBFREEBSD INITIALIZATION TEST ***\n" );
}
void test_main(void)
{
puts( "Sleeping to see what happens" );
sleep( 5 );
printf( "*** END OF LIBFREEBSD INITIALIZATION TEST ***\n" );
exit( 0 );
}