summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-06 07:56:17 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2017-11-06 09:06:20 +0100
commit7b00c2fac57740963d3c4d8bf1cf5eab3a31f22e (patch)
tree51fa24406cfa7db08a25dc1d7588f4854c7ad3f9 /testsuites/samples/pppd
parentfsjffs2gc01: Fix sporadic test failures (diff)
downloadrtems-7b00c2fac57740963d3c4d8bf1cf5eab3a31f22e.tar.bz2
tests: Use <tmacros.h> in all tests
Update #3170. Update #3199.
Diffstat (limited to 'testsuites/samples/pppd')
-rw-r--r--testsuites/samples/pppd/init.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/testsuites/samples/pppd/init.c b/testsuites/samples/pppd/init.c
index 1661e558ba..6e04c344de 100644
--- a/testsuites/samples/pppd/init.c
+++ b/testsuites/samples/pppd/init.c
@@ -22,6 +22,7 @@
#include <rtems/rtemspppd.h>
#include <rtems/shell.h>
#include "netconfig.h"
+#include <tmacros.h>
const char rtems_test_name[] = "PPPD";
@@ -39,7 +40,7 @@ rtems_task Init(rtems_task_argument argument)
rtems_print_printer_fprintf_putc(&rtems_test_printer);
- rtems_test_begin();
+ TEST_BEGIN();
status = rtems_shell_wait_for_input(
STDIN_FILENO,
@@ -48,7 +49,7 @@ rtems_task Init(rtems_task_argument argument)
NULL
);
if (status != RTEMS_SUCCESSFUL) {
- rtems_test_end();
+ TEST_END();
exit( 0 );
}