diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-29 22:28:51 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-29 22:28:51 +0000 |
commit | 85433b5ad0241ca37501ce2c8b634436fbd98e73 (patch) | |
tree | 7bddd0deabc389faa96c98e2349cf5ac11d980ea /testsuites/sptests/spprivenv01/spprivenv01.scn | |
parent | 2010-07-29 Bharath Suri <bharath.s.jois@gmail.com> (diff) | |
download | rtems-85433b5ad0241ca37501ce2c8b634436fbd98e73.tar.bz2 |
2010-07-29 Bharath Suri <bharath.s.jois@gmail.com>
PR 1621/testing
* Makefile.am, configure.ac: Improve coverage of private environment.
* spprivenv01/.cvsignore, spprivenv01/Makefile.am, spprivenv01/init.c,
spprivenv01/spprivenv01.doc, spprivenv01/spprivenv01.scn: New files.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spprivenv01/spprivenv01.scn | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuites/sptests/spprivenv01/spprivenv01.scn b/testsuites/sptests/spprivenv01/spprivenv01.scn new file mode 100644 index 0000000000..b95832ced2 --- /dev/null +++ b/testsuites/sptests/spprivenv01/spprivenv01.scn @@ -0,0 +1,17 @@ +*** TEST USER ENVIRONMENT ROUTINE - 01 *** +Init - allocating most of heap -- OK +Init - attempt to reset env - expect RTEMS_NO_MEMORY +Init - freeing the allocated memory +Init - allocating most of workspace memory +Init - attempt to reset env - expect RTEMS_NO_MEMORY +Init - freeing the workspace memory +Init - creating a task name and a task -- OK +Init - starting the task_routine, to set its private environment +Init - attempt to share the env with another task -- Expect error +task_routine - setting up a private environment +Init - attempt to share the env with another task -- OK +Init - Get current task id +Init - Attempt to reset current task's environment +Init - attempt to share the env with another task -- OK +Init - attempt to share with self -- OK +*** END OF TEST USER ENVIRONMENT ROUTINE - 01 *** |