summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/exit01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/libtests/exit01/init.c')
-rw-r--r--testsuites/libtests/exit01/init.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/testsuites/libtests/exit01/init.c b/testsuites/libtests/exit01/init.c
index 6fbad6bbc8..b677c3aab9 100644
--- a/testsuites/libtests/exit01/init.c
+++ b/testsuites/libtests/exit01/init.c
@@ -16,13 +16,15 @@
#include "config.h"
#endif
+#define TESTS_USE_PRINTK
+#include "tmacros.h"
+
#include <stdlib.h>
/* Use assert() not rtems_test_assert() since it uses exit() */
#include <assert.h>
#include <rtems.h>
-#include <rtems/test.h>
const char rtems_test_name[] = "EXIT 1";
@@ -60,7 +62,7 @@ static void fatal_extension(
&& error == EXIT_STATUS
&& counter == 3
) {
- rtems_test_endk();
+ TEST_END();
}
}
@@ -85,7 +87,7 @@ static void Init(rtems_task_argument arg)
rtems_status_code sc;
rtems_id id;
- rtems_test_begink();
+ TEST_BEGIN();
sc = rtems_task_create(
rtems_build_name('E', 'X', 'I', 'T'),