summaryrefslogtreecommitdiffstats
path: root/testsuite/link01/test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/link01/test_main.c')
-rw-r--r--testsuite/link01/test_main.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/testsuite/link01/test_main.c b/testsuite/link01/test_main.c
new file mode 100644
index 00000000..3e7c43e8
--- /dev/null
+++ b/testsuite/link01/test_main.c
@@ -0,0 +1,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 );
+}