summaryrefslogtreecommitdiffstats
path: root/testsuites/libtests/malloc05/malloc05.scn
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-14 23:29:45 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2010-07-14 23:29:45 +0000
commit8911ffd33fe83c040fee9aac29e03c83f6cb60d2 (patch)
tree0e37185458ccfc7d58887ba7a952f976bbbf4a8d /testsuites/libtests/malloc05/malloc05.scn
parent2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-8911ffd33fe83c040fee9aac29e03c83f6cb60d2.tar.bz2
2010-07-14 Joel Sherrill <joel.sherrill@oarcorp.com>
* Makefile.am, configure.ac: Add new test to exercise malloc_get_statistics(). * malloc05/.cvsignore, malloc05/Makefile.am, malloc05/init.c, malloc05/malloc05.doc, malloc05/malloc05.scn: New files.
Diffstat (limited to '')
-rw-r--r--testsuites/libtests/malloc05/malloc05.scn4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/libtests/malloc05/malloc05.scn b/testsuites/libtests/malloc05/malloc05.scn
new file mode 100644
index 0000000000..0331bf609f
--- /dev/null
+++ b/testsuites/libtests/malloc05/malloc05.scn
@@ -0,0 +1,4 @@
+*** TEST MALLOC05 ***
+malloc_get_statistics( NULL ) - returns -1
+malloc_get_statistics( &stats ) - returns -0
+*** END OF TEST MALLOC05 ***