summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxreaddir/test.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-03-25 08:06:16 +0100
commit698c2e504a4382036b412e1b2798ca83432bbbab (patch)
tree114a7c00b534d6cecd4566b5d1c892c79b899268 /testsuites/psxtests/psxreaddir/test.c
parenttests: Use rtems_status_text() (diff)
downloadrtems-698c2e504a4382036b412e1b2798ca83432bbbab.tar.bz2
tests/psxtests: Use <rtems/test.h>
Diffstat (limited to 'testsuites/psxtests/psxreaddir/test.c')
-rw-r--r--testsuites/psxtests/psxreaddir/test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/testsuites/psxtests/psxreaddir/test.c b/testsuites/psxtests/psxreaddir/test.c
index 78e5d7ca29..c79393160e 100644
--- a/testsuites/psxtests/psxreaddir/test.c
+++ b/testsuites/psxtests/psxreaddir/test.c
@@ -40,6 +40,8 @@
#include <errno.h>
#include <rtems/imfs.h>
+const char rtems_test_name[] = "PSXREADDIR";
+
/* forward declarations to avoid warnings */
int test_main(void);
void printdir(DIR *directory);
@@ -253,7 +255,7 @@ int main(
struct stat s;
- printf( "\n\n*** READDIR TEST ***\n" );
+ TEST_BEGIN();
printf( "\nchdir to the root directory\n" );
status = chdir( "/" );
@@ -531,6 +533,6 @@ int main(
rtems_test_assert ( status == 0 );
test_across_mount();
- printf( "\n\n*** END OF READDIR TEST ***\n" );
+ TEST_END();
rtems_test_exit(0);
}