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/psxsignal01/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/psxsignal01/init.c')
-rw-r--r-- | testsuites/psxtests/psxsignal01/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxsignal01/init.c b/testsuites/psxtests/psxsignal01/init.c index 12a28fa66b..511dd2d637 100644 --- a/testsuites/psxtests/psxsignal01/init.c +++ b/testsuites/psxtests/psxsignal01/init.c @@ -17,6 +17,8 @@ #include <errno.h> #include <reent.h> +const char rtems_test_name[] = "PSXSIGNAL 1"; + /* forward declarations to avoid warnings */ int test_main(void); void Handler_1(int signo); @@ -104,7 +106,7 @@ void *POSIX_Init( sighandler_t newHandler; rtems_interval start, end; - puts( "\n\n*** POSIX TEST SIGNAL ***" ); + TEST_BEGIN(); /* set the time of day, and print our buffer in multiple ways */ @@ -233,7 +235,7 @@ void *POSIX_Init( Signal_occurred = 0; puts("*** Validate unexpected program termination ***"); - puts( "*** END OF POSIX TEST SIGNAL ***" ); + TEST_END(); _POSIX_signals_Abnormal_termination_handler( SIGUSR1 ); status = sleep( 1 ); |