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/psxchroot01 | |
parent | tests: Use rtems_status_text() (diff) | |
download | rtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2 |
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxchroot01')
-rw-r--r-- | testsuites/psxtests/psxchroot01/main.c | 2 | ||||
-rw-r--r-- | testsuites/psxtests/psxchroot01/test.c | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxchroot01/main.c b/testsuites/psxtests/psxchroot01/main.c index 64bfa8d806..0255724640 100644 --- a/testsuites/psxtests/psxchroot01/main.c +++ b/testsuites/psxtests/psxchroot01/main.c @@ -34,6 +34,8 @@ rtems_task Init( #define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION + #define CONFIGURE_RTEMS_INIT_TASKS_TABLE #define CONFIGURE_INIT diff --git a/testsuites/psxtests/psxchroot01/test.c b/testsuites/psxtests/psxchroot01/test.c index e105dad7b1..27656ef131 100644 --- a/testsuites/psxtests/psxchroot01/test.c +++ b/testsuites/psxtests/psxchroot01/test.c @@ -26,6 +26,8 @@ #include <pmacros.h> #include <rtems/libcsupport.h> +const char rtems_test_name[] = "PSXCHROOT 1"; + /* forward declarations to avoid warnings */ int test_main(void); @@ -87,7 +89,7 @@ int main( #if !fileexists(/two/two.test) echo "SUCCESSFUL" */ - printf( "\n\n*** CHROOT01 TEST ***\n" ); + TEST_BEGIN(); status = mkdir( "/one", 0777); rtems_test_assert( status == 0 ); @@ -139,6 +141,6 @@ int main( status = fileexists( "/two/two.test" ); printf( "%s on /two/two.test\n", (!status) ? "SUCCESS" : "FAILURE" ); - printf( "*** END OF CHROOT01 TEST ***\n" ); + TEST_END(); rtems_test_exit(0); } |