diff options
Diffstat (limited to 'testsuites/sptests/spfifo04/init.c')
-rw-r--r-- | testsuites/sptests/spfifo04/init.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/testsuites/sptests/spfifo04/init.c b/testsuites/sptests/spfifo04/init.c index 628d9808a5..2a3ac46d24 100644 --- a/testsuites/sptests/spfifo04/init.c +++ b/testsuites/sptests/spfifo04/init.c @@ -52,11 +52,6 @@ rtems_task Init( rtems_test_assert( offset == -1 ); rtems_test_assert( errno == ESPIPE ); - puts( "Init - ioctl: FIONBIO -- Expected EFAULT" ); - status = ioctl( fd, FIONBIO, NULL ); - rtems_test_assert( status == -1 ); - rtems_test_assert( errno == EFAULT ); - puts( "Init - ioctl: FIONBIO -- OK" ); status = ioctl( fd, FIONBIO, &flag ); rtems_test_assert( status == 0 ); @@ -67,15 +62,10 @@ rtems_task Init( rtems_test_assert( status == 0 ); puts( "Init - ioctl: Dummy Command -- Expected EINVAL" ); - status = ioctl( fd, -1, NULL ); + status = ioctl( fd, -1 ); rtems_test_assert( status == -1 ); rtems_test_assert( errno == EINVAL ); - puts( "Init - ioctl: FIONREAD -- Expected EFAULT" ); - status = ioctl( fd, FIONREAD, NULL ); - rtems_test_assert( status == -1 ); - rtems_test_assert( errno == EFAULT ); - puts( "Init - ioctl: FIONREAD -- OK" ); status = ioctl( fd, FIONREAD, &pipe_length ); rtems_test_assert( status == 0 ); |