Changeset e02db20c in rtems


Ignore:
Timestamp:
May 11, 2007, 7:44:22 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
e58077c
Parents:
8247be66
Message:

2007-05-11 Joel Sherrill <joel.sherrill@…>

  • psxsem01/init.c, psxsem01/psxsem01.scn, psxtimer/psxtimer.c, psxtimer/psxtimer.scn: Add optional managers to Makefiles. Clean up test cases so last output line follows END OF pattern. Make sure test case all run. All tests appeared ok on sis.
Location:
testsuites/psxtests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r8247be66 re02db20c  
     12007-05-11      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * psxsem01/init.c, psxsem01/psxsem01.scn, psxtimer/psxtimer.c,
     4        psxtimer/psxtimer.scn: Add optional managers to Makefiles. Clean up
     5        test cases so last output line follows END OF pattern. Make sure test
     6        case all run. All tests appeared ok on sis.
     7
    182007-04-05      Joel Sherrill <joel@OARcorp.com>
    29
  • testsuites/psxtests/psxsem01/init.c

    r8247be66 re02db20c  
    115115  fatal_posix_service_status( errno, ETIMEDOUT, "sem_timedwait errno ETIMEDOUT");
    116116
     117
     118  /*
     119   * To do this case, we must be blocking when we want the semaphore.
     120   * POSIX doesn't want you to check the error if you can get the resource.
     121   */
     122
     123#if 1
     124  puts( "Init: sem_timedwait - UNSUCCESSFUL (EINVAL) -- skipping" );
     125#else
    117126  puts( "Init: sem_timedwait - UNSUCCESSFUL (EINVAL)" );
    118127  waittime.tv_sec = 0;
     
    121130  fatal_posix_service_status( status, -1, "sem_timedwait error return status");
    122131  fatal_posix_service_status( errno, EINVAL, "sem_init errno EINVAL");
     132#endif
    123133
    124134  puts( "Init: sem_post - UNSUCCESSFUL (EINVAL)" );
     
    255265  /* Try adding in unlinking before closing... (can we still open?) */
    256266
    257   puts( "*** POSIX SEMAPHORE MANAGER TEST 1 COMPLETED ***" );
     267  puts( "*** END OF POSIX SEMAPHORE MANAGER TEST 1 ***" );
    258268  rtems_test_exit(0);
    259269
  • testsuites/psxtests/psxsem01/psxsem01.scn

    r8247be66 re02db20c  
    1313Init: sem_trywait - SUCCESSFUL
    1414Init: sem_trywait - UNSUCCESSFUL (EAGAIN)
    15 Init: sem_trywait - UNSUCCESSFUL (EINVAL)
     15Init: sem_trywait - UNSUCCESSFUL (EINVAL) -- skipping
    1616Init: sem_timedwait - SUCCESSFUL
    1717Init: sem_timedwait - UNSUCCESSFUL (ETIMEDOUT)
     
    3434Init: sem_unlink ("") - EINVAL
    3535Init: sem_unlink - UNSUCCESSFUL (ENOENT)
    36 *** POSIX SEMAPHORE MANAGER TEST 1 COMPLETED ***
     36*** END OF POSIX SEMAPHORE MANAGER TEST 1 ***
    3737
  • testsuites/psxtests/psxtimer/psxtimer.c

    r8247be66 re02db20c  
    335335   /* execute 20 seconds and finish */
    336336   sleep (20);
    337    puts( "\n\n*** End of POSIX Timers Test ***" );
     337   puts( "\n\n*** END OF POSIX Timers Test ***" );
    338338   rtems_test_exit (0);
    339339 }
  • testsuites/psxtests/psxtimer/psxtimer.scn

    r8247be66 re02db20c  
    3535Executing task A Fri Jan  1 00:00:19 1988
    3636Executing task B with x = 10 Fri Jan  1 00:00:20 1988
    37 *** End of POSIX Timers Test ***
     37*** END OF POSIX Timers Test ***
Note: See TracChangeset for help on using the changeset viewer.