diff options
Diffstat (limited to 'testsuites/libtests/putenvtest/init.c')
-rw-r--r-- | testsuites/libtests/putenvtest/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/libtests/putenvtest/init.c b/testsuites/libtests/putenvtest/init.c index 40784228aa..c1da955f27 100644 --- a/testsuites/libtests/putenvtest/init.c +++ b/testsuites/libtests/putenvtest/init.c @@ -28,6 +28,8 @@ #include <stdio.h> #include <stdlib.h> +const char rtems_test_name[] = "PUTENVTEST"; + rtems_task Init( rtems_task_argument argument ); @@ -41,6 +43,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #include <rtems/confdefs.h> @@ -49,12 +53,12 @@ rtems_task Init( rtems_task_argument argument ) { - puts( "\n\n*** PUTENV/GETENV TEST ***" ); + TEST_BEGIN(); puts( "putenv(\"FOO=BAR\") - expected to work" ); putenv ("FOO=BAR"); printf ("getenv(\"FOO\") ==> \"%s\"\n", getenv ("FOO")); - puts( "*** END OF PUTENV/GETENV TEST ***" ); + TEST_END(); rtems_test_exit(0); } |