summaryrefslogtreecommitdiffstats
path: root/testsuites/psxtests (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 2009-10-14 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-10-142-1/+18
| | | | | * psxtimer01/psxtimer.c: It is not necessarily an error for the time remaining to not equal the period.
* 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-123-0/+14
| | | | * psx05/init.c, psx05/psx05.scn: Add test for bad mutex type.
* 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-129-2/+120
| | | | | | | | | * psxcleanup/system.h: Fix typo. * Makefile.am, configure.ac: Add new test for exercising pushing and popping a clean up handler without actually executing it. * psxcleanup01/.cvsignore, psxcleanup01/Makefile.am, psxcleanup01/init.c, psxcleanup01/psxcleanup01.doc, psxcleanup01/psxcleanup01.scn: New files.
* 2009-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-10-118-1/+197
| | | | | | | * Makefile.am, configure.ac: Add new test to ensure that canceling an alarm works as defined. * psxalarm01/.cvsignore, psxalarm01/Makefile.am, psxalarm01/init.c, psxalarm01/psxalarm01.doc, psxalarm01/psxalarm01.scn: New files.
* 2009-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-10-112-1/+5
| | | | * psxtimer01/psxtimer.c: Actually pass the pointer we initialized.
* 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-112-23/+36
| | | | | * psxtimer01/psxtimer.c: Make sure we have null and not-null as return parameter to timer_settime().
* 2009-10-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-10-103-13/+32
| | | | | | | * psxtimer01/psxtimer.c: Modify so it passes in a NULL to timer_settime() for previous value. We are not using the value in this particular case and this path must be exercised. * psxtimer01/psxtimer01.scn: Update so it matches output on sis.
* 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-285-28/+76
| | | | | | * psxcancel/init.c, psxcancel/psxcancel.scn, psxcancel01/init.c, psxcancel01/psxcancel01.scn: Add missing pthread cancellation test cases.
* 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-288-5/+155
| | | | | | | * Makefile.am, configure.ac: Add new test for calling pthread_cancel() from an ISR. * psxcancel01/.cvsignore, psxcancel01/Makefile.am, psxcancel01/init.c, psxcancel01/psxcancel01.doc, psxcancel01/psxcancel01.scn: New files.
* 2009-09-26 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-263-4/+9
| | | | | * psxfatal_support/init.c, psxfatal_support/system.h: Eliminate use of deprecated rtems_extension.
* 2009-09-21 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-213-3/+17
| | | | | * psxclock/init.c, psxclock/psxclock.scn: Add test case for negative nanoseconds.
* 2009-09-20 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-203-0/+11
| | | | | * psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add test for getpagesize().
* 2009-09-14 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-09-142-1/+11
| | | | | | * psxtests/psxclock/init.c, psxtests/psxclock/psxclock.scn: Add test case for nanosleep of a very small delay which mathematically is less than a clock tick.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-148-79/+119
| | | | | | | * psxclock/init.c, psxclock/psxclock.scn, psxenosys/init.c, psxenosys/psxenosys.scn, psxsignal03/Makefile.am, psxsignal03/init.c, psxsignal04/Makefile.am: Move test cases which needed to be executed when POSIX is disabled to psxclock so they will be.
* 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-09-1310-194/+319
| | | | | | | | | | * Makefile.am, configure.ac, psx01/init.c, psx01/psx01.scn: Add new test to exercise clock and delay services enabled when POSIX threads are disabled. This is split from psx01. POSIX test suite now enabled when POSIX threads are disabled so only enable tests which are appropriate. * psxclock/.cvsignore, psxclock/Makefile.am, psxclock/init.c, psxclock/psxclock.doc, psxclock/psxclock.scn: New files.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-193-39/+38
| | | | | | | * psx09/init.c, psx09/psx09.scn: Correct test following decision of when not to change ssporadic scheduler so it does not touch a task's priority when it is holding a mutex or its priority would be impacted adversely.
* Give credit to Santosh.Joel Sherrill2009-08-191-3/+3
|
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-194-109/+144
| | | | | | * psxtime/main.c, psxtime/psxtime.scn, psxtime/test.c: Add test case for adjusting time (adjtime()) where the time is adjusted by enough microseconds that it crosses a second boundary.
* 2009-08-19 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-195-1/+112
| | | | | * psx07/init.c, psx07/psx07.scn, psx07/system.h, psx07/task.c: Update test to reflect not allowing poriority changes when mutex is locked.
* 2009-08-18 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-183-3/+25
| | | | | * psx01/init.c, psx01/psx01.scn: Add test case for nanosleep with NULL remaining pointer.
* Revert configure.ac change.Joel Sherrill2009-08-172-5/+2
|
* 2009-08-17 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-08-174-0/+27
| | | | | * configure.ac, psx05/init.c, psx05/psx05.scn: Add test case for initializing a recursize mutex.
* 2009-08-12 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-124-6/+12
| | | | | | * psxfile01/test.c, psxstat/test.c, psxtime/test.c: Eliminate test routines TICKS_PER_SECOND and get_ticks_per_second() in favor of new rtems_clock_get_ticks_per_second().
* 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-102-2/+7
| | | | | * psxsignal01/init.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_xxx, ..) to rtems_clock_get_xxx().
* 2009-08-10 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-103-4/+9
| | | | | * psxstat/test.c, psxtime/test.c: Convert calls to legacy routine rtems_clock_get( RTEMS_CLOCK_GET_TOD, ..) to rtems_clock_get_tod(..).
* 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-078-1/+167
| | | | | | | * Makefile.am, configure.ac: Add test case for user providing their own stack to a POSIX thread. * psxstack01/.cvsignore, psxstack01/Makefile.am, psxstack01/init.c, psxstack01/psxstack01.doc, psxstack01/psxstack01.scn: New files.
* 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-063-15/+56
| | | | | | * psxmsgq04/init.c, psxmsgq04/psxmsgq04.scn: Tinker with test to ensure that it hits both failing to allocate memory for the message queue name and message buffers.
* 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-062-0/+6
| | | | | * psxintrcritical01/init.c: Lower microseconds per tick so tests run quicker and more reliably hit the intended critical section.
* 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-08-058-2/+170
| | | | | | | * Makefile.am, configure.ac: Add a test to exercise an odd case in _POSIX_signals_Clear_signals. * psxsignal05/.cvsignore, psxsignal05/Makefile.am, psxsignal05/init.c, psxsignal05/psxsignal05.doc, psxsignal05/psxsignal05.scn: New files.
* 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-052-3/+8
| | | | | * psxmsgq04/init.c: Correct typo in configuration so test does as intended.
* 2009-08-05 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-054-6/+25
| | | | | | | * psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn: Update to handle ENFILE case now that POSIX message queues and message queue file descriptors are configured separately and this error is possible.
* 2009-08-05 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-08-055-10/+56
| | | | | | * Makefile.am, psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn: Exercise running out of memory while allocating the message buffers for a POSIX message queue.
* 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-024-7/+14
| | | | | | * psxsignal03/init.c, psxsignal03/psxsignal03.scn, psxsignal04/psxsignal04.scn: Correct test numbers in macros so output is right. Update both screens.
* 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-0210-20/+144
| | | | | | | | | * Makefile.am, configure.ac, psxsignal03/Makefile.am, psxsignal03/init.c, psxsignal03/psxsignal03.doc: Add new test variation which focused on real-time signals rather than user signals. * psxsignal04/.cvsignore, psxsignal04/Makefile.am, psxsignal04/psxsignal04.doc, psxsignal04/psxsignal04.scn: New files.
* 2009-08-01 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-08-014-188/+213
| | | | | * psx07/init.c, psx07/psx07.scn, psx07/task.c: Add test for budget and replenish period of zero.
* 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-308-2/+192
| | | | | | | | | * Makefile.am, configure.ac: Add new test to account for properly handling keys when a thread has non-NULL key value and key has NULL destructor and when a thread has NULL key value and key has destructor. * psxkey03/.cvsignore, psxkey03/Makefile.am, psxkey03/init.c, psxkey03/psxkey03.doc, psxkey03/psxkey03.scn: New files.
* 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-308-4/+211
| | | | | | | * Makefile.am, configure.ac: Add new test for exercising running out of memory while allocating the key pointers. * psxkey02/.cvsignore, psxkey02/Makefile.am, psxkey02/init.c, psxkey02/psxkey02.doc, psxkey02/psxkey02.scn: New files.
* 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-292-0/+10
| | | | * psxmsgq04/init.c: Add call to mq_unlink.
* 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-298-1/+134
| | | | | | * Makefile.am, configure.ac: Add shell of new test. * psxmsgq04/.cvsignore, psxmsgq04/Makefile.am, psxmsgq04/init.c, psxmsgq04/psxmsgq04.doc, psxmsgq04/psxmsgq04.scn: New files.
* 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-298-2/+251
| | | | | | | | * Makefile.am, configure.ac: Add test to address cases where a thread is waiting on a signal (sigwait) and we send it. Also address case where there are too many queued signals. * psxsignal03/.cvsignore, psxsignal03/Makefile.am, psxsignal03/init.c, psxsignal03/psxsignal03.doc, psxsignal03/psxsignal03.scn: New files.
* 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-292-1/+5
| | | | * psxsignal02/init.c: Fix spacing.
* 2009-07-28 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-07-283-15/+124
| | | | | | * psxmsgq01/init.c, psxmsgq01/psxmsgq01.scn: Add tests for various mq_timedreceive and mq_timedsend conditions. In particular test timeout in the past.
* 2009-07-28 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-07-283-1/+15
| | | | | * psx05/init.c, psx05/psx05.scn: Add test for pthread_mutex_timedlock with timeout in the past.
* 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-242-19/+40
| | | | * psxsignal02/psxsignal02.scn: Fill in screen file.
* 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-248-1/+290
| | | | | | | * Makefile.am, configure.ac: Add new test to exercise algorithm to dispatch process wide signals to individual threads. * psxsignal02/.cvsignore, psxsignal02/Makefile.am, psxsignal02/init.c, psxsignal02/psxsignal02.doc, psxsignal02/psxsignal02.scn: New files.
* 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>Joel Sherrill2009-07-238-4/+170
| | | | | | | | | * Makefile.am, configure.ac: Add test to exercise interrupt synchronization logic in _POSIX_Timer_Insert_helper that supports POSIX timers. * psxintrcritical01/.cvsignore, psxintrcritical01/Makefile.am, psxintrcritical01/init.c, psxintrcritical01/psxintrcritical01.doc, psxintrcritical01/psxintrcritical01.scn: New files.
* 2009-07-23 Santosh G Vattam <vattam.santosh@gmail.com>Joel Sherrill2009-07-235-15/+99
| | | | | | * psxcancel/Makefile.am, psxcancel/init.c, psxcancel/psxcancel.scn: Add multiple cases which complete coverage of thread cancellation. * psxcancel/psxcancel.doc: New file.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-224-61/+42
| | | | | * psxsem01/Makefile.am, psxsem01/init.c: Much clean up. * psxsem01/system.h: Removed.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-222-5/+10
| | | | * psxsem01/init.c: Eliminate warning.
* 2009-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2009-07-222-57/+45
| | | | * psxcancel/init.c: Clean up.