Files
rtems/testsuites/sptests/sp18/sp18.doc
Joel Sherrill 8b40e27c0c 2009-07-29 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise as many cases as
	possible of not being able to allocate memory from the workspace
	during thread creation.
	* sp18/.cvsignore, sp18/Makefile.am, sp18/init.c, sp18/sp18.doc,
	sp18/sp18.scn: New files.
2009-07-30 00:15:59 +00:00

27 lines
686 B
Plaintext

#
# $Id$
#
# COPYRIGHT (c) 1989-2009.
# On-Line Applications Research Corporation (OAR).
#
# The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at
# http://www.rtems.com/license/LICENSE.
#
This file describes the directives and concepts tested by this test set.
test set name: sp18
directives:
rtems_task_create
really allocation failures in _Thread_Initialize
concepts:
+ Ensure that all memory is freed when some part of the task allocation
fails. We start with a stack size that consumes all memory and work
down a bit at a time until the task create is successful. This is designed
to hit all cases.