diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-03-25 08:06:16 +0100 |
commit | 698c2e504a4382036b412e1b2798ca83432bbbab (patch) | |
tree | 114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxenosys/init.c | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxenosys/init.c')
-rw-r--r-- | testsuites/psxtests/psxenosys/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxenosys/init.c b/testsuites/psxtests/psxenosys/init.c index afea3f3569..6ae7c1d856 100644 --- a/testsuites/psxtests/psxenosys/init.c +++ b/testsuites/psxtests/psxenosys/init.c @@ -28,6 +28,8 @@ #include <unistd.h> #include <sched.h> +const char rtems_test_name[] = "PSXENOSYS"; + #if !HAVE_DECL_MPROTECT extern int mprotect(const void *addr, size_t len, int prot); #endif @@ -51,7 +53,7 @@ void *POSIX_Init( { int sc; - puts( "\n\n*** POSIX TEST -- ENOSYS ***" ); + TEST_BEGIN(); puts( "lio_listio -- ENOSYS" ); sc = lio_listio( 0, NULL, 0, NULL ); @@ -144,7 +146,7 @@ void *POSIX_Init( rtems_test_exit( 0 ); } - puts( "*** END OF POSIX TEST ENOSYS ***" ); + TEST_END(); rtems_test_exit( 0 ); return NULL; /* just so the compiler thinks we returned something */ |