summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd
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/pppd
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/pppd')
-rw-r--r--testsuites/samples/pppd/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuites/samples/pppd/init.c b/testsuites/samples/pppd/init.c
index 7217684ec7..a8daedc291 100644
--- a/testsuites/samples/pppd/init.c
+++ b/testsuites/samples/pppd/init.c
@@ -24,6 +24,7 @@
#include "netconfig.h"
const char rtems_test_name[] = "PPPD";
+rtems_printer rtems_test_printer;
static void notification(int fd, int seconds_remaining, void *arg)
{
@@ -37,6 +38,8 @@ rtems_task Init(rtems_task_argument argument)
{
rtems_status_code status;
+ rtems_print_printer_printf(&rtems_test_printer);
+
rtems_test_begin();
status = rtems_shell_wait_for_input(