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/psxpasswd01 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxpasswd01')
-rw-r--r-- | testsuites/psxtests/psxpasswd01/init.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxpasswd01/init.c b/testsuites/psxtests/psxpasswd01/init.c index 7673afec4a..cc618a5cf6 100644 --- a/testsuites/psxtests/psxpasswd01/init.c +++ b/testsuites/psxtests/psxpasswd01/init.c @@ -17,6 +17,8 @@ #include <pwd.h> #include <grp.h> +const char rtems_test_name[] = "PSXPASSWD 1"; + /* forward declarations to avoid warnings */ rtems_task Init(rtems_task_argument ignored); void print_passwd(struct passwd *pw); @@ -67,7 +69,7 @@ rtems_task Init( struct passwd *pw; struct group *gr; - puts( "*** PASSWORD/GROUP TEST - 01 ***" ); + TEST_BEGIN(); /* getpwent */ puts( "Init - getpwent() -- OK, result should be NULL" ); @@ -195,7 +197,7 @@ rtems_task Init( puts( "Init - endgrent() -- OK" ); endgrent(); - puts( "*** END OF PASSWORD/GROUP TEST - 01 ***" ); + TEST_END(); rtems_test_exit( 0 ); } @@ -208,6 +210,8 @@ rtems_task Init( #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 6 #define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT |