Commit Graph

567 Commits

Author SHA1 Message Date
Joel Sherrill
0f3ab7df60 2010-07-07 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1606/cpukit
	* psxfatal_support/init.c: Remove
	INTERNAL_ERROR_INVALID_WORKSPACE_ADDRESS since it is not generated.
2010-07-07 14:07:26 +00:00
Sebastian Huber
190f165bf2 2010-07-07 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* psxfatal_support/init.c: Print end of test message in case of
	success.  Stop multitasking in the fatal error extension.
	* psxfatal01/psxfatal01.scn, psxfatal02/psxfatal02.scn: Update.
2010-07-07 09:11:25 +00:00
Sebastian Huber
11e69fc0f3 2010-07-06 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* psxtimes01/init.c: Added missing declaration.
2010-07-06 07:49:11 +00:00
Joel Sherrill
85c8e754f1 2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test for various forms of times() and
	getrusage().
	* psxgetrusage01/.cvsignore, psxgetrusage01/Makefile.am,
	psxgetrusage01/init.c, psxgetrusage01/psxgetrusage01.doc,
	psxgetrusage01/psxgetrusage01.scn, psxtimes01/.cvsignore,
	psxtimes01/Makefile.am, psxtimes01/init.c, psxtimes01/psxtimes01.doc,
	psxtimes01/psxtimes01.scn: New files.
2010-07-06 01:01:42 +00:00
Joel Sherrill
7a595e8a2f 2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxid01/init.c, psxid01/psxid01.scn: Actually match an entry in
	/etc/passwd and /etc/group.
2010-07-05 22:01:06 +00:00
Joel Sherrill
95cf41e21e 2010-07-05 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxid01/init.c, psxid01/psxid01.doc, psxid01/psxid01.scn: Add test
	cases.
2010-07-05 21:32:48 +00:00
Joel Sherrill
2da9a31ae2 2010-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx13/test.c: Fix warning.
2010-07-02 18:51:48 +00:00
Joel Sherrill
5143105e73 2010-07-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test_cat.c: Does not need posix specific macros.
2010-07-02 17:20:54 +00:00
Joel Sherrill
3f42281e30 2010-07-01 Joel Sherrill <joel.sherrilL@OARcorp.com>
* psxfile01/Makefile.am, psxfile01/psxfile01.scn, psxfile01/test.c:
	Remove tests which put NULL entries in file handlers.
2010-07-01 21:15:07 +00:00
Joel Sherrill
1fe4042000 2010-07-01 Bharath Suri <bharath.s.jois@gmail.com>
PR 1598/testing
	* Makefile.am, configure.ac, psxpasswd01/init.c,
	psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: Add testing
	for POSIX user database (e.g. /etc/group and /etc/passwd) access
	routines which are implemented in libcsupport/src/getpwent.c.
	* psxpasswd02/.cvsignore, psxpasswd02/Makefile.am, psxpasswd02/init.c,
	psxpasswd02/psxpasswd02.doc, psxpasswd02/psxpasswd02.scn: New files.
2010-07-01 17:26:37 +00:00
Joel Sherrill
c40d3c4b02 2010-07-01 Vinu Rajashekhar <vinutheraj@gmail.com>
PR 1597/cpukit
	* psx13/psx13.scn, psx13/test.c, psxstat/psxstat.scn,
	psxstat/test.c: Add lchown() and utimes().
2010-07-01 17:24:35 +00:00
Joel Sherrill
98e16aad39 2010-07-01 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add tests for file lock stubs as well as
	various POSIX methods that access UID, PID, and GID.
	* psxfilelock01/.cvsignore, psxfilelock01/Makefile.am,
	psxfilelock01/init.c, psxfilelock01/psxfilelock01.doc,
	psxfilelock01/psxfilelock01.scn, psxid01/.cvsignore,
	psxid01/Makefile.am, psxid01/init.c, psxid01/psxid01.doc,
	psxid01/psxid01.scn: New files.
2010-07-01 14:40:14 +00:00
Joel Sherrill
efc253fa86 2010-06-30 Joel Sherrill <joel.sherrilL@OARcorp.com>
* psximfs01/init.c: Fix warning introduced.
2010-06-30 14:41:56 +00:00
Joel Sherrill
71a5e5a113 2010-06-30 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1595/tests
	* psximfs01/init.c: Fix warnings.
2010-06-30 13:54:15 +00:00
Joel Sherrill
89b897f020 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxtime/psxtime.scn, psxtime/test.c: Add test for passing a null
	pointer.
2010-06-28 21:00:15 +00:00
Joel Sherrill
ef87186893 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* configure.ac: Remove reference to RTEMS_OBJECT_FORMAT.
2010-06-28 19:53:00 +00:00
Joel Sherrill
43efb633ba 2010-06-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add test to exercise IMFS behaviour with
	files of maximum sizes.
	* psximfs01/.cvsignore, psximfs01/Makefile.am, psximfs01/init.c,
	psximfs01/psximfs01.doc, psximfs01/psximfs01.scn: New files.
2010-06-28 18:48:25 +00:00
Joel Sherrill
ec76b1148e 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac: Revert accidentally committed patch.
2010-06-23 22:50:49 +00:00
Joel Sherrill
ce00f304d7 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* 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, psxalarm01/Makefile.am,
	psxautoinit01/Makefile.am, psxautoinit02/Makefile.am,
	psxbarrier01/Makefile.am, psxcancel/Makefile.am,
	psxcancel01/Makefile.am, psxchroot01/Makefile.am,
	psxcleanup/Makefile.am, psxcleanup01/Makefile.am,
	psxclock/Makefile.am, psxcond01/Makefile.am, psxenosys/Makefile.am,
	psxfatal01/Makefile.am, psxfatal02/Makefile.am,
	psxfile01/Makefile.am, psxintrcritical01/Makefile.am,
	psxitimer/Makefile.am, psxkey01/Makefile.am, psxkey02/Makefile.am,
	psxkey03/Makefile.am, psxmount/Makefile.am, psxmsgq01/Makefile.am,
	psxmsgq02/Makefile.am, psxmsgq03/Makefile.am, psxmsgq04/Makefile.am,
	psxmutexattr01/Makefile.am, psxobj01/Makefile.am,
	psxpasswd01/Makefile.am, psxrdwrv/Makefile.am,
	psxreaddir/Makefile.am, psxrwlock01/Makefile.am,
	psxsem01/Makefile.am, psxsignal01/Makefile.am,
	psxsignal02/Makefile.am, psxsignal03/Makefile.am,
	psxsignal04/Makefile.am, psxsignal05/Makefile.am,
	psxspin01/Makefile.am, psxspin02/Makefile.am, psxstack01/Makefile.am,
	psxstat/Makefile.am, psxsysconf/Makefile.am, psxtime/Makefile.am,
	psxtimer01/Makefile.am, psxtimer02/Makefile.am,
	psxualarm/Makefile.am, psxusleep/Makefile.am: Revert accidentally
	committed patch.
2010-06-23 22:49:59 +00:00
Joel Sherrill
e6e4eecec5 2010-06-23 Joel Sherrill <joel.sherrilL@OARcorp.com>
* Makefile.am, configure.ac, 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,
	psxalarm01/Makefile.am, psxautoinit01/Makefile.am,
	psxautoinit02/Makefile.am, psxbarrier01/Makefile.am,
	psxcancel/Makefile.am, psxcancel01/Makefile.am,
	psxchroot01/Makefile.am, psxcleanup/Makefile.am,
	psxcleanup01/Makefile.am, psxclock/Makefile.am,
	psxcond01/Makefile.am, psxenosys/Makefile.am, psxfatal01/Makefile.am,
	psxfatal02/Makefile.am, psxfile01/Makefile.am, psxfile02/init.c,
	psxfile02/psxfile02.doc, psxfile02/psxfile02.scn,
	psxintrcritical01/Makefile.am, psxitimer/Makefile.am,
	psxkey01/Makefile.am, psxkey02/Makefile.am, psxkey03/Makefile.am,
	psxmount/Makefile.am, psxmsgq01/Makefile.am, psxmsgq02/Makefile.am,
	psxmsgq03/Makefile.am, psxmsgq04/Makefile.am,
	psxmutexattr01/Makefile.am, psxobj01/Makefile.am,
	psxpasswd01/Makefile.am, psxrdwrv/Makefile.am,
	psxreaddir/Makefile.am, psxrwlock01/Makefile.am,
	psxsem01/Makefile.am, psxsignal01/Makefile.am,
	psxsignal02/Makefile.am, psxsignal03/Makefile.am,
	psxsignal04/Makefile.am, psxsignal05/Makefile.am,
	psxspin01/Makefile.am, psxspin02/Makefile.am, psxstack01/Makefile.am,
	psxstat/Makefile.am, psxsysconf/Makefile.am, psxtime/Makefile.am,
	psxtimer01/Makefile.am, psxtimer02/Makefile.am,
	psxualarm/Makefile.am, psxusleep/Makefile.am: Add test for fd greater
	than number of file descriptors configured.
2010-06-23 22:48:44 +00:00
Jennifer Averett
32e5d81420 2010-06-23 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* psxfile02/psxfile02.doc: Filled in documentation information.
2010-06-23 19:31:36 +00:00
Jennifer Averett
6cb72216e7 2010-06-23 Jennifer Averett <Jennifer Averett@OARcorp.com>
* Makefile.am, configure.ac: Added test case for calls that check for
	an unopened file descriptor.
	* psxfile02/.cvsignore, psxfile02/Makefile.am, psxfile02/init.c,
	psxfile02/psxfile02.doc, psxfile02/psxfile02.scn: New files.
2010-06-23 18:43:24 +00:00
Jennifer Averett
34c062f065 2010-06-22 Jennifer Averett <Jennifer.Averett@OARcorp.com>
* psxtime/psxtime.scn, psxtime/test.c: Add a normal case with second
	parameter to adjtime NULL.
2010-06-22 17:44:02 +00:00
Joel Sherrill
ff71b7d8dc 2010-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfatal_support/init.c: Remove references to ITRON constants.
2010-06-19 20:55:30 +00:00
Sebastian Huber
b00c3cdfeb 2010-06-08 Sebastian Huber <Sebastian.Huber@embedded-brains.de>
* psxfile01/test.c: Update for IMFS API changes.
2010-06-08 13:12:56 +00:00
Chris Johns
042a44210a 2010-06-02 Chris Johns <chrisj@rtems.org>
* psxfile01/test.c, psxmount/test.c, psxreaddir/test.c,
        psxstat/test.c: Update to the new mount API.
2010-06-02 00:50:37 +00:00
Ralf Corsepius
700b9116a8 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CHECK_SIZEOF(off_t).
	* include/pmacros.h: Add PRIdoff_t.
2010-05-29 05:31:46 +00:00
Ralf Corsepius
668bcccde6 2010-05-29 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CHECK_SIZEOF(off_t).
	* include/pmacros.h: Add PRIdoff_t.
2010-05-29 05:31:45 +00:00
Joel Sherrill
514a3fe4d3 2010-05-17 Bharath Suri <bharath.s.jois@gmail.com>
* psxfile01/test.c, psxfile01/psxfile01.scn: This file now
	exercises the _rename_r in libcsupport. For now, it also
	provides two fsmount_me_h handlers to enable certain error
	checking paths
2010-05-17 17:56:13 +00:00
Joel Sherrill
cb930b4dae 2010-04-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxfile01/test.c: Add check for errno on chdir(NULL).
2010-04-28 15:01:51 +00:00
Joel Sherrill
18b3b58110 2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxrdwrv/test.c: Use SIZE_MAX not SSIZE_MAX.
2010-04-25 19:53:38 +00:00
Joel Sherrill
2cc30e90c2 2010-04-25 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx07/init.c, psx07/task.c: Introduce enough of a delay so the Init()
	thread can reliably reach the pthread_join() call.
2010-04-25 19:40:12 +00:00
Joel Sherrill
e8b4506836 2010-04-25 Joel Sherrill <joel.sherrilL@OARcorp.com>
* psxreaddir/psxreaddir.scn, psxreaddir/test.c: Do not test for
	rewinddir(NULL) since we are now using newlib's implementation and it
	does not check for NULL. This causes a fault on some targets.
2010-04-25 19:17:52 +00:00
Ralf Corsepius
c0c98985f8 2010-04-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* psx07/init.c, psx09/init.c, psx12/init.c, psxhdrs/pthread11.c,
	psxhdrs/pthread22.c, psxhdrs/sched01.c, psxhdrs/sched03.c:
	Reflect POSIX changes to sched_param.
2010-04-03 06:07:34 +00:00
Ralf Corsepius
66c9ad8692 Reflect POSIX changes to sched_param. 2010-04-03 06:07:24 +00:00
Ralf Corsepius
00d8eab920 #include <unistd.h>. 2010-04-02 07:28:41 +00:00
Ralf Corsepius
121d116919 2010-04-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxhdrs/proc01.c, psxhdrs/proc02.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/signal20.c, psxhdrs/signal21.c:
	#include <unistd.h>.
2010-04-02 07:28:15 +00:00
Joel Sherrill
161f54b4d6 2009-12-28 Shrikant Gaikwad <n3oo3n@gmail.com>
* psx13/test.c, psx13/psx13.scn Added new routine PipeTestNull()
	to cover the trivial NULL case for pipe function.
2009-12-28 16:43:10 +00:00
Joel Sherrill
d3a0b00076 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxrwlock01/test.c, psxspin01/test.c, psxspin02/test.c: Fix spacing
	and compilation issues. Initial test build was accidentally without
	POSIX enabled.
2009-12-08 21:16:02 +00:00
Joel Sherrill
2317457e10 2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* include/pmacros.h, psx01/task.c, psx02/init.c, psx02/task.c,
	psx03/init.c, psx03/task.c, psx04/init.c, psx04/task1.c,
	psx04/task2.c, psx04/task3.c, psx05/init.c, psx05/task.c,
	psx05/task2.c, psx05/task3.c, psx06/init.c, psx06/task.c,
	psx06/task2.c, psx07/init.c, psx08/init.c, psx08/task2.c,
	psx08/task3.c, psx09/init.c, psx10/init.c, psx10/task.c,
	psx10/task2.c, psx10/task3.c, psx11/init.c, psx11/task.c,
	psx12/init.c, psxalarm01/init.c, psxbarrier01/test.c,
	psxcancel01/init.c, psxchroot01/test.c, psxclock/init.c,
	psxfile01/test.c, psxfile01/test_cat.c, psxfile01/test_extend.c,
	psxfile01/test_write.c, psxitimer/init.c, psxkey01/task.c,
	psxkey02/init.c, psxkey03/init.c, psxmount/test.c, psxmsgq01/init.c,
	psxmsgq03/init.c, psxmsgq04/init.c, psxreaddir/test.c,
	psxrwlock01/test.c, psxsem01/init.c, psxsignal01/init.c,
	psxsignal01/task1.c, psxsignal02/init.c, psxsignal03/init.c,
	psxsignal05/init.c, psxspin01/test.c, psxspin02/test.c,
	psxstack01/init.c, psxstat/test.c, psxtime/test.c, psxualarm/init.c:
	Use rtems_test_assert() consistently instead of system assert().
	rtems_test_assert() is designed to integrate into the RTEMS test
	suite infrastructure.
2009-12-08 17:52:53 +00:00
Joel Sherrill
4828ee25a2 2009-12-03 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: New test to exercise getgrnam and getpwnam
	families.
	* psxpasswd01/.cvsignore, psxpasswd01/Makefile.am, psxpasswd01/init.c,
	psxpasswd01/psxpasswd01.doc, psxpasswd01/psxpasswd01.scn: New files.
2009-12-03 17:15:02 +00:00
Ralf Corsepius
b1274bd94c Whitespace removal. 2009-11-30 03:33:25 +00:00
Joel Sherrill
ea6eb43135 2009-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1460/cpukit
	* psx14/init.c: Change return type on methods accessing portions of
	RTEMS Ids to int. This allows -1 to be return on error.
2009-11-23 14:58:18 +00:00
Joel Sherrill
ea7d86b245 2009-11-11 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1466/tests
	* Makefile.am, configure.ac, psxclock/init.c, psxclock/psxclock.doc,
	psxclock/psxclock.scn, psxkey03/init.c, psxsignal02/init.c,
	psxsignal03/init.c, psxstack01/init.c: Remove usleep() from tests.
	Add test specifically to test it since it is deprecated as of
	POSIX.1-2008.
	* psxusleep/.cvsignore, psxusleep/Makefile.am, psxusleep/init.c,
	psxusleep/psxusleep.doc, psxusleep/psxusleep.scn: New files.
2009-11-12 00:21:51 +00:00
Joel Sherrill
f3ddd7ba93 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxcancel01/init.c: Initialize start time.
2009-11-09 15:04:03 +00:00
Joel Sherrill
96bdacd57d 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxmsgq01/init.c, psxsem01/init.c: Add service to check status
	returned by POSIX methods which return a pointer which is -1 on
	error. This eliminated some casts.
2009-11-09 14:49:27 +00:00
Joel Sherrill
23938252ad 2009-11-09 Joel Sherrill <joel.sherrill@oarcorp.com>
* psxenosys/Makefile.am: Add documentation file.
	* psxenosys/psxenosys.doc: New file.
2009-11-09 14:47:06 +00:00
Ralf Corsepius
deb22fc5af 2009-01-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxsignal03/init.c:
	Print sigval.sival_ptr instead of "union sigval".
2009-11-02 07:10:58 +00:00
Ralf Corsepius
c61e6316e0 Print sigval.sival_ptr instead of "union sigval". 2009-11-02 07:10:36 +00:00
Ralf Corsepius
7a20394f99 2009-01-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* psxstat/test.c: Apply PRI* macros to print struct stat fields.
2009-11-01 07:55:21 +00:00