summaryrefslogtreecommitdiffstats
path: root/testsuite/init01/test_main.c
blob: 3e7c43e89c2c48472ae18bdee0fae5471b889acf (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
/*
 *  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 );
}