summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/spwkspace/spwkspace.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-13 17:09:14 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-05-13 17:09:14 +0000
commit4f7b4a88365ac991054affcc86aba178d3c86b16 (patch)
tree53af735f8615013c0932e4dbac388cc7a881a5a3 /testsuites/sptests/spwkspace/spwkspace.scn
parent2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-4f7b4a88365ac991054affcc86aba178d3c86b16.tar.bz2
2009-05-13 Joel Sherrill <joel.sherrill@OARcorp.com>
* Makefile.am, configure.ac: New test to exercise rtems_workspace_XXX methods. * spwkspace/.cvsignore, spwkspace/Makefile.am, spwkspace/init.c, spwkspace/spwkspace.scn, spwkspace/system.h: New files.
Diffstat (limited to 'testsuites/sptests/spwkspace/spwkspace.scn')
-rw-r--r--testsuites/sptests/spwkspace/spwkspace.scn10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuites/sptests/spwkspace/spwkspace.scn b/testsuites/sptests/spwkspace/spwkspace.scn
new file mode 100644
index 0000000000..0fe8088abf
--- /dev/null
+++ b/testsuites/sptests/spwkspace/spwkspace.scn
@@ -0,0 +1,10 @@
+*** TEST WORKSPACE CLASSIC API ***
+rtems_workspace_get_information - null pointer
+rtems_workspace_get_information - OK
+rtems_workspace_allocate - null pointer
+rtems_workspace_allocate - 0 bytes
+rtems_workspace_allocate - too many bytes
+rtems_workspace_allocate - 42 bytes
+rtems_workspace_free - NULL
+rtems_workspace_free - previous pointer to 42 bytes
+*** END OF TEST WORKSPACE CLASSIC API ***