summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfilelock01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxfilelock01/init.c')
-rw-r--r--testsuites/psxtests/psxfilelock01/init.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxfilelock01/init.c b/testsuites/psxtests/psxfilelock01/init.c
index 5b3b0f6efe..d64d1a185f 100644
--- a/testsuites/psxtests/psxfilelock01/init.c
+++ b/testsuites/psxtests/psxfilelock01/init.c
@@ -15,6 +15,8 @@
#include "test_support.h"
#include <errno.h>
+const char rtems_test_name[] = "PSXFILELOCK 1";
+
/* forward declarations to avoid warnings */
rtems_task Init(rtems_task_argument argument);
@@ -25,7 +27,7 @@ rtems_task Init(
FILE *fd;
int sc;
- puts( "\n\n*** TEST FILE LOCK 01 ***" );
+ TEST_BEGIN();
puts( "Open /testfile" );
fd = fopen( "/testfile", "w+" );
@@ -45,7 +47,7 @@ rtems_task Init(
puts( "funlockfile /testfile" );
funlockfile( fd );
- puts( "*** END OF TEST FILE LOCK 01 ***" );
+ TEST_END();
rtems_test_exit(0);
}
@@ -57,6 +59,8 @@ rtems_task Init(
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_MAXIMUM_TASKS 1
+#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION
+
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
#define CONFIGURE_INIT