Changeset 68cc3ad in rtems


Ignore:
Timestamp:
Feb 26, 2004, 2:26:23 PM (16 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
652524d9
Parents:
79f90ba
Message:

2004-02-26 Sébastien Barré <sbarre@…>

PR 582/core

  • psxmsgq01/init.c, psxmsgq01/psxmsgq01.scn: Fix the POSIX message queue test so more of it runs now.
Location:
testsuites/psxtests
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • testsuites/psxtests/ChangeLog

    r79f90ba r68cc3ad  
     12004-02-26      Sébastien Barré <sbarre@sdelcc.com>
     2
     3        PR 582/core
     4        * psxmsgq01/init.c, psxmsgq01/psxmsgq01.scn: Fix the POSIX message
     5        queue test so more of it runs now.
     6
    172004-01-14      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • testsuites/psxtests/psxmsgq01/init.c

    r79f90ba r68cc3ad  
    10091009
    10101010
     1011#if 0
    10111012  /*
    10121013   * Create a task then block until the task sends the message.
     
    10231024  fatal_posix_service_status( errno, EAGAIN, "mq_receive errno EAGAIN");
    10241025  print_current_time( "Init: ", "" );
    1025 
     1026#endif
    10261027  /*
    10271028   * Create a task then block until the task sends the message.
     
    10361037  print_current_time( "Init: ", "" );
    10371038
    1038   /*
    1039    * Create a task then block until the task reads a message.
     1039#if 0
     1040  /*
     1041   * Fill the queue then create a task then block until the task receives a message.
     1042   * Task tests set attributes so one queue will have a thread
     1043   * blocked while attributes are changed.
    10401044   */
    10411045
     
    10501054  verify_queues_full( "Init:" );
    10511055  empty_message_queues( "Init:" );
    1052 
     1056#endif
    10531057  /*
    10541058   * Create a task then block until the task reads a message.
  • testsuites/psxtests/psxmsgq01/psxmsgq01.scn

    r79f90ba r68cc3ad  
    55Init: mq_open - Open new mq without create flag (ENOENT)
    66Init: mq_open - Open with too long of a name (ENAMETOOLONG)
     7Init: mq_open - Create an Existing mq (EEXIST)
    78Init: mq_open - SUCCESSFUL
    8 Init: mq_open - Create an Existing mq (EEXIST)
    99Init: mq_open - system is out of resources (ENFILE)
    1010Init: mq_close and mq_unlink (mq3...mqn) - SUCCESSFUL
     
    5353Init: Init: mq_timedreceive - on queue Qdefault Init: 1 sec 0 us
    5454_______________mq_open functionality
    55 Init: mq_open - Open an existing mq ( same id )
    5655_______________mq_notify
    5756Init: mq_notify - Unopened message queue (EBADF)
     
    7170Init: mq_send -  to Qnoblock msg: 12345678 priority 31
    7271waiting on any signal for 3 seconds.
    73 _______________multi-thread Task 4 Receive Test
    74 Init: mq_receive - Empty queue changes to non-blocking (EAGAIN)
    75 Task_4: Fri Jan  1 00:00:18 1988
    76 Task_4: Set queue to non-blocking
    77 Task_4: Return queue to blocking
    78 Task_4: pthread_exit
    79 Init: Fri Jan  1 00:00:18 1988
    8072_______________multi-thread Task 1 Test
    81 Task_1: Fri Jan  1 00:00:18 1988
     73Task_1: Fri Jan  1 00:00:20 1988
    8274Task_1: mq_send -  to Qblock msg: 12345678 priority 31
    8375Task_1: pthread_exit
    84 Init: Fri Jan  1 00:00:18 1988
    85 _______________multi-thread Task 4 Send Test
    86 Init: Verify Queues are empty
    87 Init: Fill Queues with messages
    88 Init: Verify Queues are full
    89 Init: mq_send - Full queue changes to non-blocking (EAGAIN)
    90 Task_4: Fri Jan  1 00:00:18 1988
    91 Task_4: Set queue to non-blocking
    92 Task_4: Return queue to blocking
    93 Task_4: pthread_exit
    94 Init: Verify Queues are full
    95 Init: Empty all Queues
     76Init: Fri Jan  1 00:00:20 1988
    9677_______________multi-thread Task 2 Test
    9778Init: Verify Queues are empty
     
    9980Init: Verify Queues are full
    10081Init: mq_send -  to Qblock msg: Last priority 32
    101 Task_2: Fri Jan  1 00:00:18 1988
     82Task_2: Fri Jan  1 00:00:21 1988
    10283Task_2: Verify Queues are full
    10384Task_2: pthread_exit
    104 Init: Fri Jan  1 00:00:18 1988
     85Init: Fri Jan  1 00:00:21 1988
    10586Init: Verify Queues are full
    10687Init: Empty all Queues
     
    11091Init: Verify Queues are full
    11192Init: mq_send - Block while thread deletes queue (EBADF)
    112 Task_3: Fri Jan  1 00:00:18 1988
     93Task_3: Fri Jan  1 00:00:21 1988
    11394_______________Unlink and Close All Files
    11495Task_3: pthread_exit
Note: See TracChangeset for help on using the changeset viewer.