summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxfchx01/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxfchx01/init.c')
-rw-r--r--testsuites/psxtests/psxfchx01/init.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/testsuites/psxtests/psxfchx01/init.c b/testsuites/psxtests/psxfchx01/init.c
index 7ef030e5dc..56ff3c500b 100644
--- a/testsuites/psxtests/psxfchx01/init.c
+++ b/testsuites/psxtests/psxfchx01/init.c
@@ -184,10 +184,9 @@ rtems_task Init(
fd = open( "/newfile", O_RDONLY | O_CREAT, S_IRWXU );
rtems_test_assert( fd != -1 );
- puts( "Init - fchown, with the opened file descriptor - expect EINVAL" );
+ puts( "Init - fchown, with the opened file descriptor - OK" );
status = fchown( fd, 0, 0 );
- rtems_test_assert( status == -1 );
- rtems_test_assert( errno == EINVAL );
+ rtems_test_assert( status == 0 );
puts( "Init - close and remove /newfile" );
status = close( fd );