summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxchroot01/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxchroot01/test.c')
-rw-r--r--testsuites/psxtests/psxchroot01/test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/testsuites/psxtests/psxchroot01/test.c b/testsuites/psxtests/psxchroot01/test.c
index da93a96f05..6f7ebb8e89 100644
--- a/testsuites/psxtests/psxchroot01/test.c
+++ b/testsuites/psxtests/psxchroot01/test.c
@@ -28,6 +28,7 @@
#include <unistd.h>
#include <errno.h>
#include <rtems/libio.h>
+#include <pmacros.h>
void touch( char *file )
{
@@ -117,6 +118,6 @@ int main(
printf( "%s on /two/two.test\n", (!status) ? "SUCCESS" : "FAILURE" );
printf( "*** END OF CHROOT01 TEST ***\n" );
- exit(0);
+ rtems_test_exit(0);
}