summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/loopback/init.c
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2016-05-26 15:51:44 +1000
committerChris Johns <chrisj@rtems.org>2016-05-26 15:52:19 +1000
commit3039e1840ccf7594476a6d46d255862dff0ffd98 (patch)
treee3a987d3920f907fa764609b313af600f75bfaad /testsuites/samples/loopback/init.c
parentposix: Fix pthread_spin_unlock() error status (diff)
downloadrtems-3039e1840ccf7594476a6d46d255862dff0ffd98.tar.bz2
testsuite: Fix networking samples to use the RTEMS printer.
Diffstat (limited to 'testsuites/samples/loopback/init.c')
-rw-r--r--testsuites/samples/loopback/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/samples/loopback/init.c b/testsuites/samples/loopback/init.c
index ccaf3c65ce..a6ef08bc27 100644
--- a/testsuites/samples/loopback/init.c
+++ b/testsuites/samples/loopback/init.c
@@ -13,6 +13,7 @@
#include <bsp.h>
const char rtems_test_name[] = "LOOPBACK";
+rtems_printer rtems_test_printer;
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
@@ -247,6 +248,8 @@ Init (rtems_task_argument ignored)
{
rtems_status_code sc;
+ rtems_print_printer_printf(&rtems_test_printer);
+
rtems_test_begin();
sc = rtems_semaphore_create(rtems_build_name('P','m','t','x'),