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/psxfile01/test.c | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to '')
-rw-r--r-- | testsuites/psxtests/psxfile01/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfile01/test.c b/testsuites/psxtests/psxfile01/test.c index 715a2cc8ec..94f80c8b2e 100644 --- a/testsuites/psxtests/psxfile01/test.c +++ b/testsuites/psxtests/psxfile01/test.c @@ -45,6 +45,8 @@ #include "primode.h" +const char rtems_test_name[] = "PSXFILE 1"; + /* forward declarations to avoid warnings */ void test_case_reopen_append(void); void dump_statbuf(struct stat *buf); @@ -158,7 +160,7 @@ int main( rtems_status_code rtems_status; rtems_time_of_day time; - printf( "\n\n*** FILE TEST 1 ***\n" ); + TEST_BEGIN(); /* * Grab the maximum size of an in-memory file. @@ -655,7 +657,7 @@ since new path is not valid"); test_case_reopen_append(); - printf( "*** END OF FILE TEST 1 ***\n" ); + TEST_END(); rtems_test_exit( 0 ); } |