Joel Sherrill
13a4c71cc4
2009-07-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add test for auto initialization of
message queues.
* psxautoinit02/.cvsignore, psxautoinit02/Makefile.am,
psxautoinit02/init.c, psxautoinit02/psxautoinit02.doc,
psxautoinit02/psxautoinit02.scn: New files.
2009-07-16 15:00:44 +00:00
Joel Sherrill
9a845e175b
2009-07-07 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* Makefile.am, configure.ac: Add test of pthread mutex auto
intialization.
* psxautoinit01/.cvsignore, psxautoinit01/Makefile.am,
psxautoinit01/init.c, psxautoinit01/psxautoinit01.scn: New files.
2009-07-07 14:30:12 +00:00
Joel Sherrill
824b3d1c90
2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psx05/init.c, psx05/psx05.scn: Add a couple of invalid Id cases.
2009-07-06 22:01:58 +00:00
Joel Sherrill
147c5d512f
2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psxsignal01/init.c: Tune code to really hit POSIX signal from ISR
code.
2009-07-06 21:03:05 +00:00
Joel Sherrill
69ca55c088
2009-07-06 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psx07/init.c: Slight test fix to ensure state of sched_param
structure.
2009-07-06 17:58:44 +00:00
Joel Sherrill
c6dc6db074
2009-07-04 Santosh G Vattam <vattam.santosh@gmail.com>
...
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
obtaining an rwlock and then releasing it twice.
2009-07-04 20:26:18 +00:00
Joel Sherrill
4a105192af
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test of vfork stub.
2009-07-03 20:08:22 +00:00
Joel Sherrill
2819bd17b2
2009-07-03 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psx04/init.c, psx04/psx04.scn: Test error cases in sigwait() and
sigtimedwait(). Update screen file.
2009-07-03 18:39:11 +00:00
Joel Sherrill
f9ff8cea68
2009-07-01 Santosh G Vattam <vattam.santosh@gmail.com>
...
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
obtaining rwlock for write with a timed lock operation when the
abstime timeout is in the past.
2009-07-01 16:15:21 +00:00
Joel Sherrill
94ccbb7b3d
2009-06-30 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
obtaining rwlock for read with a timed lock operation when the
abstime timeout is in the past.
2009-06-30 17:50:15 +00:00
Joel Sherrill
85e525aab8
2009-06-29 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psx05/init.c, psx05/psx05.scn: Add test case for process scope now
that the assert has been removed in the source.
2009-06-29 23:23:23 +00:00
Joel Sherrill
cbbc55ef71
2009-06-18 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psxstat/psxstat.scn, psxstat/test.c: Disable test for error on wrong
mode bits being set. This behavior was not POSIX compliant and has
been corrected in the filesystem code.
2009-06-18 16:19:53 +00:00
Chris Johns
f9eb21d863
2009-06-18 Chris Johns <chrisj@rtems.org>
...
* psx04/task3.c: Declare unions volatile to workaround the H8300
gcc bug.
2009-06-17 22:58:19 +00:00
Joel Sherrill
c0ae2676b5
Add new test for error cases in _Objects_Name_to_id_string which is currently only used by POSIX semaphores and message queues.
2009-06-12 15:17:49 +00:00
Joel Sherrill
7cd9cd89f9
2009-06-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* Makefile.am, configure.ac: Add mq_send to full queue from ISR case.
* psxmsgq03/.cvsignore, psxmsgq03/Makefile.am, psxmsgq03/init.c,
psxmsgq03/psxmsgq03.doc, psxmsgq03/psxmsgq03.scn, psxmsgq03/system.h: New files.
2009-06-10 17:09:54 +00:00
Joel Sherrill
b7681c6b12
2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Add test case for
NULL attribute pointer on init.
2009-05-18 00:39:25 +00:00
Joel Sherrill
7a67dfbc62
2009-05-17 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psxsem01/Makefile.am, psxsem01/init.c, psxsem01/psxsem01.scn,
psxtimer01/psxtimer.c, psxtimer01/system.h, psxtimer02/psxtimer.c:
Improved so coverage is better.
2009-05-17 20:59:23 +00:00
Joel Sherrill
ea6dbd0e1c
2009-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psx04/init.c: Correct errors introduced by using different variable
for return type when correcting typing warnings.
2009-05-17 16:26:01 +00:00
Joel Sherrill
9bced10753
2009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* Makefile.am, configure.ac: Add new test to provide coverage analysis
of the current implementation of getitimer() and setitimer().
* psxitimer/.cvsignore, psxitimer/Makefile.am, psxitimer/init.c,
psxitimer/psxitimer.scn: New files.
2009-05-15 17:42:27 +00:00
Joel Sherrill
760076d746
2009-05-15 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* psxsysconf/init.c, psxsysconf/psxsysconf.scn: Add missing error test
case to improve coverage analysis.
2009-05-15 16:01:15 +00:00
Joel Sherrill
2e7e636f75
2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psx01/init.c, psx01/task.c, psx02/init.c, psx02/task.c, psx03/init.c,
psx04/init.c, psx04/task1.c, psx04/task3.c, psx05/init.c,
psx06/init.c, psx07/init.c, psx08/init.c, psx09/init.c, psx11/task.c,
psx12/init.c, psx13/main.c, psx13/test.c, psxbarrier01/test.c,
psxcancel/init.c, psxcleanup/psxcleanup.c, psxenosys/init.c,
psxmsgq02/init.c, psxtime/main.c, psxtime/test.c,
psxtimer01/psxtimer.c, psxtimer02/psxtimer.c: Fix warnings.
2009-05-11 01:41:16 +00:00
Joel Sherrill
7a9030a079
2009-05-10 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxhdrs/clock01.c, psxhdrs/clock02.c, psxhdrs/clock03.c,
psxhdrs/clock04.c, psxhdrs/clock05.c, psxhdrs/clock06.c,
psxhdrs/cond01.c, psxhdrs/cond02.c, psxhdrs/cond03.c,
psxhdrs/cond04.c, psxhdrs/cond05.c, psxhdrs/cond06.c,
psxhdrs/cond07.c, psxhdrs/cond08.c, psxhdrs/cond09.c,
psxhdrs/cond10.c, psxhdrs/key01.c, psxhdrs/key02.c, psxhdrs/key03.c,
psxhdrs/key04.c, psxhdrs/mutex01.c, psxhdrs/mutex02.c,
psxhdrs/mutex03.c, psxhdrs/mutex04.c, psxhdrs/mutex05.c,
psxhdrs/mutex06.c, psxhdrs/mutex07.c, psxhdrs/mutex08.c,
psxhdrs/mutex09.c, psxhdrs/mutex10.c, psxhdrs/mutex11.c,
psxhdrs/mutex12.c, psxhdrs/mutex13.c, psxhdrs/mutex14.c,
psxhdrs/mutex15.c, psxhdrs/mutex16.c, psxhdrs/proc01.c,
psxhdrs/proc02.c, psxhdrs/proc03.c, psxhdrs/proc04.c,
psxhdrs/proc05.c, psxhdrs/proc06.c, psxhdrs/proc07.c,
psxhdrs/proc08.c, psxhdrs/proc09.c, psxhdrs/proc10.c,
psxhdrs/proc11.c, psxhdrs/proc12.c, psxhdrs/proc13.c,
psxhdrs/proc14.c, psxhdrs/pthread01.c, psxhdrs/pthread02.c,
psxhdrs/pthread03.c, psxhdrs/pthread04.c, psxhdrs/pthread05.c,
psxhdrs/pthread06.c, psxhdrs/pthread07.c, psxhdrs/pthread08.c,
psxhdrs/pthread09.c, psxhdrs/pthread10.c, psxhdrs/pthread11.c,
psxhdrs/pthread12.c, psxhdrs/pthread13.c, psxhdrs/pthread14.c,
psxhdrs/pthread15.c, psxhdrs/pthread16.c, psxhdrs/pthread17.c,
psxhdrs/pthread18.c, psxhdrs/pthread19.c, psxhdrs/pthread20.c,
psxhdrs/pthread21.c, psxhdrs/pthread22.c, psxhdrs/pthread23.c,
psxhdrs/pthread24.c, psxhdrs/pthread25.c, psxhdrs/pthread26.c,
psxhdrs/pthread27.c, psxhdrs/pthread28.c, psxhdrs/pthread29.c,
psxhdrs/pthread30.c, psxhdrs/pthread31.c, psxhdrs/pthread32.c,
psxhdrs/pthread33.c, psxhdrs/pthread34.c, psxhdrs/pthread35.c,
psxhdrs/pthread36.c, psxhdrs/sched01.c, psxhdrs/sched02.c,
psxhdrs/sched03.c, psxhdrs/sched04.c, psxhdrs/sched05.c,
psxhdrs/sched06.c, psxhdrs/sched07.c, psxhdrs/sched08.c,
psxhdrs/signal01.c, psxhdrs/signal02.c, psxhdrs/signal03.c,
psxhdrs/signal04.c, psxhdrs/signal05.c, psxhdrs/signal06.c,
psxhdrs/signal07.c, psxhdrs/signal08.c, psxhdrs/signal09.c,
psxhdrs/signal10.c, psxhdrs/signal11.c, psxhdrs/signal12.c,
psxhdrs/signal13.c, psxhdrs/signal14.c, psxhdrs/signal15.c,
psxhdrs/signal16.c, psxhdrs/signal17.c, psxhdrs/signal18.c,
psxhdrs/signal19.c, psxhdrs/signal20.c, psxhdrs/signal21.c,
psxhdrs/signal22.c, psxhdrs/signal23.c, psxhdrs/sync01.c,
psxhdrs/sync02.c, psxhdrs/sync03.c, psxhdrs/time01.c,
psxhdrs/time02.c, psxhdrs/time03.c, psxhdrs/time04.c,
psxhdrs/time05.c, psxhdrs/time06.c, psxhdrs/time07.c,
psxhdrs/time08.c, psxhdrs/time09.c, psxhdrs/time10.c,
psxhdrs/time11.c, psxhdrs/time12.c, psxhdrs/time13.c,
psxhdrs/timer01.c, psxhdrs/timer02.c, psxhdrs/timer03.c,
psxhdrs/timer04.c, psxhdrs/timer05.c, psxhdrs/timer06.c,
psxhdrs/timer07.c: Fix warnings.
2009-05-10 20:15:57 +00:00
Joel Sherrill
52137b7641
2009-05-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxfile01/test.c: Change from int to size_t.
2009-05-05 13:15:04 +00:00
Ralf Corsepius
3d5483771c
Eliminate _exe_/.exe.
2009-04-03 12:55:13 +00:00
Ralf Corsepius
b9665ca295
2009-04-03 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* psx01/Makefile.am, psx02/Makefile.am, psx03/Makefile.am,
psx04/Makefile.am, psx05/Makefile.am, psx06/Makefile.am,
psx07/Makefile.am, psx08/Makefile.am, psx09/Makefile.am,
psx10/Makefile.am, psx11/Makefile.am, psx12/Makefile.am,
psx13/Makefile.am, psx14/Makefile.am, psxbarrier01/Makefile.am,
psxcancel/Makefile.am, psxchroot01/Makefile.am,
psxcleanup/Makefile.am, psxenosys/Makefile.am,
psxfatal01/Makefile.am, psxfatal02/Makefile.am,
psxfile01/Makefile.am, psxkey01/Makefile.am,
psxmount/Makefile.am, psxmsgq01/Makefile.am,
psxmsgq02/Makefile.am, psxrdwrv/Makefile.am,
psxreaddir/Makefile.am, psxrwlock01/Makefile.am,
psxsem01/Makefile.am, psxsignal01/Makefile.am,
psxspin01/Makefile.am, psxstat/Makefile.am, psxsysconf/Makefile.am,
psxtime/Makefile.am, psxtimer01/Makefile.am, psxtimer02/Makefile.am,
psxualarm/Makefile.am: Eliminate _exe_/.exe.
2009-04-03 12:44:48 +00:00
Joel Sherrill
8bafd774c2
2009-01-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn: Open the message queue
with create option so we are sure it will get a control block and
proceed to allocate other memory. Clean up screen output.
2009-01-05 19:39:56 +00:00
Joel Sherrill
d32daa6a8a
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psx05/init.c: Add parameter to call to sched_get_priority_max().
2008-12-14 23:56:21 +00:00
Joel Sherrill
5abf63d983
2008-12-14 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psx05/init.c, psx07/init.c, psx09/init.c, psx11/init.c, psx12/init.c:
Run all tests successfully with maxixum number of priorities as 16
instead of 256. This was done by temporarily modifying the score
priority.h maximum. This allowed testing of all API code to ensure
that it worked properly with a reduced number of priorities. Most
modifications were to switch from hard-coded maximum to using the API
provided methods to determine maximum number of priority levels.
2008-12-14 18:41:18 +00:00
Joel Sherrill
bdd1f5d1af
2008-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxtimer01/psxtimer.c, psxtimer02/psxtimer.c: Obtain TOD with
clock_gettime() NOT by reaching into the SuperCore.
2008-12-08 17:33:37 +00:00
Joel Sherrill
7d2aaa6f76
2008-10-01 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psx01/psx01.scn: Bump version to 4.9.99.0
2008-10-01 17:16:37 +00:00
Ralf Corsepius
f0157b8fd8
Convert to "bool".
2008-09-06 03:39:58 +00:00
Ralf Corsepius
7b7073e834
2008-09-06 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* psxcleanup/psxcleanup.c, psxfatal_support/init.c,
psxfatal_support/system.h: Convert to "bool".
2008-09-06 03:33:27 +00:00
Joel Sherrill
f132a3d8dd
2008-08-19 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
...
PR 1296/cpukit.
* psxtimer01/psxtimer.c, psxtimer01/psxtimer01.scn: POSIX timers use
incorrect repeat interval. This patch fixes the following problems in
the test.
(1) Adds test for value of it_interval.tv_nsec.
(2) Corrects test for absolute timer in past.
(3) Modifies test to use different initial and repeat periods.
(4) Updates psxtimer01.scn to match results.
2008-08-19 14:46:52 +00:00
Joel Sherrill
d95b992a2c
2008-08-15 Joel Sherrill <joel.sherrill@OARcorp.com>
...
PR 1297/cpukit
* psxrwlock01/psxrwlock01.scn, psxrwlock01/test.c: Fix NULL attribute
pointer handling.
2008-08-15 16:30:01 +00:00
Joel Sherrill
ce7803fe45
2008-08-04 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxsem01/init.c: Spacing.
2008-08-04 16:13:10 +00:00
Joel Sherrill
decb0759ad
2008-08-04 Tim FitzGeorge <tim.fitzgeorge@astrium.eads.net>
...
PR 1293/tests
* psx10/init.c: Make sure we do not let tv_nsec go to -1.
2008-08-04 14:39:45 +00:00
Joel Sherrill
f5119be40a
2008-07-18 Joel Sherrill <joel.sherrill@oarcorp.com>
...
PR 1291/cpukit
* psx05/init.c, psxmsgq01/init.c: As part of addressing timeouts and
POSIX services taking relative instead of absolute time for timeouts,
these tests were updated.
2008-07-18 18:47:30 +00:00
Joel Sherrill
05480bb8be
2008-07-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxfile01/test.c: truncate on /dev/console now works.
2008-07-17 21:23:19 +00:00
Joel Sherrill
f5f519bdaf
2008-06-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxrwlock01/main.c, psxspin01/main.c: Now accounts for extra stack
requested for initialization task.
2008-06-17 15:28:05 +00:00
Joel Sherrill
1700430839
2008-05-15 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxstat/psxstat.scn, psxstat/test.c: Eliminate patterns that look
like CVS conflict markers.
2008-05-15 16:34:01 +00:00
Joel Sherrill
8ae91559e3
2008-04-17 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxchroot01/main.c, psxmount/main.c, psxreaddir/main.c: Use
CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER where needed.
2008-04-17 22:47:02 +00:00
Joel Sherrill
3f4dce3152
2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxmsgq02/init.c, psxsignal01/init.c: Corrent end of test messages.
2008-02-22 19:34:14 +00:00
Joel Sherrill
78b4e2eb43
2008-02-06 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxkey01/task.c: Fix warnings.
2008-02-07 00:04:10 +00:00
Joel Sherrill
19cbe60326
2008-02-05 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxkey01/.cvsignore, psxmsgq02/.cvsignore: New files.
2008-02-05 15:44:28 +00:00
Jennifer Averett
f8d39b8dcd
2008-02-04 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* Makefile.am, configure.ac, psxmsgq01/Makefile.am, psxmsgq01/init.c:
Added tests for failure path coverages. Consolidated methods used in
multiple places into support routines.
* psxkey01/Makefile.am, psxkey01/init.c, psxkey01/psxkey01.scn,
psxkey01/system.h, psxkey01/task.c, psxmsgq02/Makefile.am,
psxmsgq02/init.c, psxmsgq02/psxmsgq02.scn, psxmsgq02/system.h: New files.
2008-02-04 19:39:43 +00:00
Joel Sherrill
66c348cb12
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* include/pmacros.h, psx01/init.c, psx01/system.h, psx13/main.c,
psxbarrier01/main.c, psxchroot01/main.c, psxfatal_support/init.c,
psxfile01/main.c, psxfile01/test.c, psxmount/main.c, psxrdwrv/main.c,
psxreaddir/main.c, psxrwlock01/main.c, psxspin01/main.c,
psxstat/main.c, psxtime/main.c: Change TEST_INIT to CONFIGURE_INIT.
Make tmacros.h available to all POSIX tests. Add a clock_settime case
for < 1988.
2008-02-01 00:45:08 +00:00
Joel Sherrill
920343eed7
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* Makefile.am, configure.ac: New tests.
* psxfatal01/.cvsignore, psxfatal01/Makefile.am,
psxfatal01/psxfatal01.scn, psxfatal01/testcase.h,
psxfatal02/.cvsignore, psxfatal02/Makefile.am,
psxfatal02/psxfatal02.scn, psxfatal02/testcase.h,
psxfatal_support/init.c, psxfatal_support/system.h: New files.
2008-01-31 23:42:50 +00:00
Joel Sherrill
c87593f0b0
2008-01-31 Joel Sherrill <joel.sherrill@OARcorp.com>
...
* Makefile.am, configure.ac: Add psx14 to exercise POSIX API specific
portions of Object Services added to API.
* psx14/.cvsignore, psx14/Makefile.am, psx14/init.c, psx14/psx14.scn,
psx14/system.h: New files.
2008-01-31 16:07:12 +00:00
Jennifer Averett
01618ccc6b
2008-01-29 Jennifer Averett <jennifer.averett@OARcorp.com>
...
* psx07/init.c, psx07/system.h: Test cleanup and added testing for
pthread_attr_[get|set]clock.
2008-01-29 19:00:38 +00:00
Joel Sherrill
8571262799
2008-01-23 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* psxenosys/init.c, psxenosys/psxenosys.scn: Add test for stub
implementation mprotect().
2008-01-23 15:35:41 +00:00