Commit Graph

81 Commits

Author SHA1 Message Date
Ralf Corsepius
c03792fcd7 2011-02-08 Ralf Corsépius <ralf.corsepius@rtems.org>
* include/pmacros.h: Add PRIxblksize_t, PRIxblkcnt_t.
	* configure.ac: Add AC_CHECK_SIZEOF([blksize_t]),
	AC_CHECK_SIZEOF([blkcnt_t]).
2011-02-08 06:37:34 +00:00
Ralf Corsepius
8ee3775f30 2011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2011-02-02 15:01:43 +00:00
Joel Sherrill
a0cd082999 2011-01-17 Alin Rus <alin.codejunkie@gmail.com>
* Makefile.am, configure.ac: Add psxaio03/.
	* psxaio03/Makefile.am, psxaio03/init.c, psxaio03/psxaio03.scn
	psxaio03/system.h: New.
2011-01-17 22:17:18 +00:00
Joel Sherrill
4fcd106dd4 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: New test to ensure pthread_cond_wait() and
	sleep() (e.g. interruptible blocking and sleeping) are interruptible
	by signal.
	* psxsignal06/.cvsignore, psxsignal06/Makefile.am, psxsignal06/init.c,
	psxsignal06/psxsignal06.doc, psxsignal06/psxsignal06.scn: New files.
2010-10-21 22:05:17 +00:00
Joel Sherrill
6baf5a5bc3 2010-10-04 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac, psx07/init.c, psx07/psx07.scn,
	psxhdrs/Makefile.am, psxstack01/init.c: Add pthread_attr_getstack,
	pthread_attr_setstack, pthread_attr_getguardsize, and
	pthread_attr_setguardsize.
	* psxstack02/.cvsignore, psxstack02/Makefile.am, psxstack02/init.c,
	psxstack02/psxstack02.doc, psxstack02/psxstack02.scn: New files.
2010-10-04 15:53:45 +00:00
Ralf Corsepius
f23b023550 2010-10-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for pthread_attr_{get,set}cputime instead of
	pthread_pthread_attr_{get,set}cputime (Typo).
2010-10-01 16:56:07 +00:00
Sebastian Huber
4bff27618d 2010-09-28 Sebastian Huber <sebastian.huber@embedded-brains.de>
* psx15/.cvsignore, psx15/Makefile.am, psx15/init.c, psx15/psx15.scn:
	New files.
	* Makefile.am, configure.ac: Reflect changes above.
2010-09-28 07:36:06 +00:00
Ralf Corsepius
521869335b 2010-08-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: AC_CHECK_DECLS([seteuid]).
	* psximfs02/init.c: Provide decl for seteuid if not provided by
	libc.
2010-08-30 16:58:13 +00:00
Ralf Corsepius
db8c6d6492 2010-08-16 Alin Rus <alin.codejunkie@gmail.com>
* Makefile.am, configure.ac: Add psxaio01/, psxaio02/.
	* psxaio01/Makefile.am, psxaio01/init.c, psxaio01/psxaio01.scn,
	psxaio01/system.h: New.
	* psxaio02/Makefile.am, psxaio02/init.c, psxaio02/psxaio02.scn,
	psxaio02/system.h: New.
2010-08-16 13:29:49 +00:00
Joel Sherrill
d08ba49ea2 2010-07-29 Bharath Suri <bharath.s.jois@gmail.com>
PR 1642/testing
	* psximfs02/init.c, psximfs02/psximfs02.scn,
	psximfs02/psximfs02.doc, psximfs02/Makefile.am: New test added.
	* configure.ac, Makefile.am: Changes to accommodate psximfs02
	test.
2010-07-29 22:40:50 +00:00
Joel Sherrill
b05cc32958 2010-07-12 Bharath Suri <bharath.s.jois@gmail.com>
PR 1613/testing
	* psxfchx01/init.c, psxfchx01/Makefile.am, psxfchx01/.cvsignore,
	psxfchx01/psxfchx01.doc, psxfchx01/psxfchx01.scn: New
	tests. Improves coverage of fchdir, fchmod, fchown directives.
	* configure.ac, Makefile.am: Changes to accommodate new test.
	* psxstat/test.c, psxstat/psxstat.scn: Added new test case to test
	statvfs routine under libcsupport.
2010-07-13 21:13:13 +00:00
Joel Sherrill
f1b2dab270 2010-07-09 Bharath Suri <bharath.s.jois@gmail.com>
PR 1610/testing
	* psx13/test.c, psx13/psx13.scn: Remove the test cases which
	exercise pipe. These are new a new test under psxpipe01/
	* psxpipe01/init.c, psxpipe01/Makefile.am,
	psxpipe01/psxpipe01.scn, psxpipe01/psxpipe01.doc: Added new test.
	* Makefile.am, configure.ac: Changes due to addition of new test:
	psxpipe01.
2010-07-09 22:07: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
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
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
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
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
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
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
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
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
Ralf Corsepius
7a6c4c5172 Add AC_CHECK_DECLS pthread_getcputime, pthread_setcputime. 2009-10-27 04:58:47 +00:00
Ralf Corsepius
f2ced5d99f 2009-10-26 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Add AC_CHECK_HEADERS sys/mman.h.
	Add AC_CHECK_DECLS pthread_atfork, adjtime, mprotect.
2009-10-26 04:58:07 +00:00
Ralf Corsepius
cd06fd586e 2009-10-25 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Check for pthread_rwlock_unlock in pthread.h.
	* psxrwlock01/test.c: Conditionally add local prototype for
	pthread_rwlock_unlock() if pthread.h doesn't supply it.
2009-10-25 06:51:02 +00:00
Ralf Corsepius
50a7df108c 2009-10-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* configure.ac: Don't add -ansi -fasm to CFLAGS.
2009-10-20 04:14:56 +00:00
Joel Sherrill
a3a9a2d0ef 2009-10-11 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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-12 00:00:04 +00:00
Joel Sherrill
a450697323 2009-10-11 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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 22:32:03 +00:00
Joel Sherrill
bfd225e917 2009-09-28 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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-28 23:10:15 +00:00
Joel Sherrill
88271c3308 2009-09-13 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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-09-13 20:36:36 +00:00
Joel Sherrill
4f79a900cb Revert configure.ac change. 2009-08-17 17:44:36 +00:00
Joel Sherrill
49325ef13c 2009-08-17 Santosh G Vattam <vattam.santosh@gmail.com>
* configure.ac, psx05/init.c, psx05/psx05.scn: Add test case for
	initializing a recursize mutex.
2009-08-17 17:43:35 +00:00
Joel Sherrill
c05f201080 2009-08-06 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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-07 00:42:47 +00:00
Joel Sherrill
b053cab093 2009-08-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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 18:13:29 +00:00
Joel Sherrill
70a66ca5d3 2009-08-02 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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-02 14:41:46 +00:00
Joel Sherrill
64bad68bc8 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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 20:21:41 +00:00
Joel Sherrill
3e5a9e5176 2009-07-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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-30 18:48:56 +00:00
Joel Sherrill
330e858cc2 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* 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 20:15:33 +00:00
Joel Sherrill
2ad8f85825 2009-07-29 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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 18:31:20 +00:00
Joel Sherrill
a3e4a589d5 2009-07-24 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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-24 19:18:20 +00:00
Joel Sherrill
6ffde61c4c 2009-07-23 Joel Sherrill <joel.sherrill@OARcorp.com>
* 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 20:30:01 +00:00
Joel Sherrill
14d3ad4fcf 2009-07-21 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise error case for
	when a task is blocked on a condition variable with one mutex and
	another task attempts to block on the same condition variable with
	another mutex.
	* psxcond01/.cvsignore, psxcond01/Makefile.am, psxcond01/init.c,
	psxcond01/psxcond01.doc, psxcond01/psxcond01.scn: New files.
2009-07-21 15:07:26 +00:00
Joel Sherrill
1938cc07df 2009-07-19 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add psxspin02 to exercise case where
	trylock is unable to obtain the spinlock and that attempting to
	unlock a spinlock from a thread which did not lock it works as
	expected.
	* psxspin02/.cvsignore, psxspin02/Makefile.am, psxspin02/main.c,
	psxspin02/psxspin02.doc, psxspin02/psxspin02.scn, psxspin02/test.c:
	New files.
2009-07-20 01:12:25 +00:00
Joel Sherrill
5d6e8c88fb 2009-07-17 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: Add test to exercise
	pthread_mutexattr_gettype and pthread_mutexattr_settype now that the
	toolset enables the feature.
	* psxmutexattr01/.cvsignore, psxmutexattr01/Makefile.am,
	psxmutexattr01/init.c, psxmutexattr01/psxmutexattr01.doc,
	psxmutexattr01/psxmutexattr01.scn: New files.
2009-07-17 16:17:14 +00:00
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
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
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