summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfile01/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxfile01/test.c')
-rw-r--r--testsuites/psxtests/psxfile01/test.c6
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 );
}