summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests/psxitimer/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/psxtests/psxitimer/init.c')
-rw-r--r--testsuites/psxtests/psxitimer/init.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuites/psxtests/psxitimer/init.c b/testsuites/psxtests/psxitimer/init.c
index d7c6b27ff4..b370b67b9d 100644
--- a/testsuites/psxtests/psxitimer/init.c
+++ b/testsuites/psxtests/psxitimer/init.c
@@ -26,48 +26,48 @@ void *POSIX_Init(
/* test getitimer stub */
puts( "getitimer -- bad which - EINVAL " );
status = getitimer( 1234, &itimer );
- rtems_test_assert( status == -1 && errno == EINVAL );
+ rtems_test_assert( status == -1 && errno == EINVAL );
puts( "getitimer -- NULL pointer - EFAULT " );
status = getitimer( ITIMER_REAL, NULL );
- rtems_test_assert( status == -1 && errno == EFAULT );
+ rtems_test_assert( status == -1 && errno == EFAULT );
puts( "getitimer -- ITIMER_REAL - ENOSYS " );
status = getitimer( ITIMER_REAL, &itimer );
- rtems_test_assert( status == -1 && errno == ENOSYS );
+ rtems_test_assert( status == -1 && errno == ENOSYS );
puts( "getitimer -- ITIMER_VIRTUAL - ENOSYS " );
status = getitimer( ITIMER_VIRTUAL, &itimer );
- rtems_test_assert( status == -1 && errno == ENOSYS );
+ rtems_test_assert( status == -1 && errno == ENOSYS );
puts( "getitimer -- ITIMER_PROF - ENOSYS " );
status = getitimer( ITIMER_PROF, &itimer );
- rtems_test_assert( status == -1 && errno == ENOSYS );
+ rtems_test_assert( status == -1 && errno == ENOSYS );
/* test setitimer stub */
puts( "setitimer -- bad which - EINVAL " );
status = setitimer( 1234, &itimer, &otimer );
- rtems_test_assert( status == -1 && errno == EINVAL );
+ rtems_test_assert( status == -1 && errno == EINVAL );
puts( "setitimer -- NULL value pointer - EFAULT " );
status = setitimer( ITIMER_REAL, NULL, &otimer );
- rtems_test_assert( status == -1 && errno == EFAULT );
+ rtems_test_assert( status == -1 && errno == EFAULT );
puts( "setitimer -- NULL value pointer - EFAULT " );
status = setitimer( ITIMER_REAL, &itimer, NULL );
- rtems_test_assert( status == -1 && errno == EFAULT );
+ rtems_test_assert( status == -1 && errno == EFAULT );
puts( "setitimer -- ITIMER_REAL - ENOSYS " );
status = setitimer( ITIMER_REAL, &itimer, &otimer );
- rtems_test_assert( status == -1 && errno == ENOSYS );
+ rtems_test_assert( status == -1 && errno == ENOSYS );
puts( "setitimer -- ITIMER_VIRTUAL - ENOSYS " );
status = setitimer( ITIMER_VIRTUAL, &itimer, &otimer );
- rtems_test_assert( status == -1 && errno == ENOSYS );
+ rtems_test_assert( status == -1 && errno == ENOSYS );
puts( "setitimer -- ITIMER_PROF - ENOSYS " );
status = setitimer( ITIMER_PROF, &itimer, &otimer );
- rtems_test_assert( status == -1 && errno == ENOSYS );
+ rtems_test_assert( status == -1 && errno == ENOSYS );
puts( "*** END OF POSIX TEST ITIMER ***" );
rtems_test_exit(0);