summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sperror01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/sptests/sperror01/init.c')
-rw-r--r--testsuites/sptests/sperror01/init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/sptests/sperror01/init.c b/testsuites/sptests/sperror01/init.c
index 4c40be5299..a84eaf9293 100644
--- a/testsuites/sptests/sperror01/init.c
+++ b/testsuites/sptests/sperror01/init.c
@@ -11,7 +11,9 @@
#include "config.h"
#endif
+#define TESTS_USE_PRINTK
#include <tmacros.h>
+
#include "test_support.h"
#include "rtems/error.h"
#include <errno.h>
@@ -32,7 +34,7 @@ static void fatal_extension(
&& !is_internal
&& error == ENOMEM
) {
- rtems_test_endk();
+ TEST_END();
}
}