Changeset a3ca5f36 in rtems


Ignore:
Timestamp:
Apr 15, 2011, 2:21:19 PM (10 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
e0bc543
Parents:
3f2af2f
Message:

2011-04-15 Sebastian Huber <Sebastian.Huber@…>

  • psxstat/test.c: Check status codes.
Location:
testsuites/psxtests
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r3f2af2f ra3ca5f36  
    112011-04-15      Sebastian Huber <Sebastian.Huber@embedded-brains.de>
    22
    3         * psxstat/test.c: Fixed integer type.
     3        * psxstat/test.c: Fixed integer type.  Check status codes.
    44
    552011-03-09      Joel Sherrill <joel.sherrill@oarcorp.com>
  • testsuites/psxtests/psxstat/test.c

    r3f2af2f ra3ca5f36  
    773773void Show_Time(void)
    774774{
     775  rtems_status_code sc;
    775776  rtems_time_of_day time;
    776   rtems_status_code status;
    777 
    778   status = rtems_clock_get_tod( &time );
     777
     778  sc = rtems_clock_get_tod( &time );
     779  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    779780  printf("--->Current Time: ");
    780781  print_time( " - rtems_clock_get_tod - ", &time, "\n" );
     
    817818#endif
    818819{
     820  rtems_status_code sc;
    819821  rtems_time_of_day time;
    820822  int status;
     
    823825
    824826  build_time( &time, 12, 31, 1988, 9, 0, 0, 0 );
    825   rtems_clock_set( &time );
     827  sc = rtems_clock_set( &time );
    826828  Show_Time();
    827829
     
    856858  make_multiple_links( Files,          Links_to_Files );
    857859
    858   rtems_task_wake_after( TIMEOUT_VALUE );
     860  sc = rtems_task_wake_after( TIMEOUT_VALUE );
     861  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    859862  make_multiple_links( Links_to_Dirs,  Links_to_dirlinks );
    860   rtems_task_wake_after( TIMEOUT_VALUE );
     863  sc = rtems_task_wake_after( TIMEOUT_VALUE );
     864  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    861865  make_multiple_links( Links_to_Files, Links_to_filelinks );
    862866
    863   rtems_task_wake_after( TIMEOUT_VALUE );
     867  sc = rtems_task_wake_after( TIMEOUT_VALUE );
     868  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    864869
    865870  /*
     
    920925  make_many_symlinks( "/symlinks", 10 );
    921926
    922   rtems_task_wake_after( TIMEOUT_VALUE );
     927  sc = rtems_task_wake_after( TIMEOUT_VALUE );
     928  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    923929  Cause_faults();
    924930
    925   rtems_task_wake_after( TIMEOUT_VALUE );
     931  sc = rtems_task_wake_after( TIMEOUT_VALUE );
     932  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    926933  chown_multiple_files( Files );
    927934
    928   rtems_task_wake_after( TIMEOUT_VALUE );
     935  sc = rtems_task_wake_after( TIMEOUT_VALUE );
     936  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    929937  chown_multiple_files( Links_to_Dirs );
    930938
    931   rtems_task_wake_after( TIMEOUT_VALUE );
     939  sc = rtems_task_wake_after( TIMEOUT_VALUE );
     940  rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    932941  lchown_multiple_files( SymLinks );
    933942
Note: See TracChangeset for help on using the changeset viewer.