diff options
Diffstat (limited to 'testsuites/psxtests/psxfile01/test_cat.c')
-rw-r--r-- | testsuites/psxtests/psxfile01/test_cat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxfile01/test_cat.c b/testsuites/psxtests/psxfile01/test_cat.c index f6daecfad7..ea1e63ef7e 100644 --- a/testsuites/psxtests/psxfile01/test_cat.c +++ b/testsuites/psxtests/psxfile01/test_cat.c @@ -17,6 +17,8 @@ #include <assert.h> +#include <pmacros.h> + /* * test_cat routine */ @@ -44,7 +46,7 @@ void test_cat( fd = open( file, O_RDONLY ); if ( fd == -1 ) { printf( "test_cat: open( %s ) failed : %s\n", file, strerror( errno ) ); - exit( 0 ); + rtems_test_exit( 0 ); } for ( ;; ) { |