diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-15 13:53:28 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-07-15 13:53:28 +0000 |
commit | c275f71b394085318ba9d41858adb69ef1e85886 (patch) | |
tree | 5a54c61b719aba3102780bf914fe8a22c2a46dc6 /testsuites/sptests/spmountmgr01/spmountmgr01.scn | |
parent | 2010-07-15 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-c275f71b394085318ba9d41858adb69ef1e85886.tar.bz2 |
2010-07-15 Bharath Suri <bharath.s.jois@gmail.com>
PR 1617/testing
* spmountmgr01/init.c, spmountmgr01/Makefile.am,
spmountmgr/.cvsignore, spmountmgr01/spmountmgr01.doc,
spmountmgr01/spmountmgr01.scn: New test which improves coverage
of mount-mgr.c under libcsupport.
* Makefile.am, configure.ac: Changes to accommodate the new test.
Diffstat (limited to '')
-rw-r--r-- | testsuites/sptests/spmountmgr01/spmountmgr01.scn | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testsuites/sptests/spmountmgr01/spmountmgr01.scn b/testsuites/sptests/spmountmgr01/spmountmgr01.scn new file mode 100644 index 0000000000..d85166f354 --- /dev/null +++ b/testsuites/sptests/spmountmgr01/spmountmgr01.scn @@ -0,0 +1,14 @@ +*** TEST MOUNT MANAGER ROUTINE - 01 *** +Init - allocating most of heap -- OK +Init - attempt to register filesystem fs - expect ENOMEM +Init - freeing allocated memory -- OK +Init - register filesystem fs -- OK +Init - register filesystem fs - expect EINVAL +Init - register filesystem bfs -- OK +Init - register filesystem bfs - expect EINVAL +Init - attempt to unregister with bad args - expect EINVAL +Init - attempt to unregister fs -- OK +Init - attempt to unregister fs again - expect ENOENT +Init - attempt to unregister bfs -- OK +Init - attempt to unregister bfs again - expect ENOENT +*** END OF TEST MOUNT MANAGER ROUTINE - 01 *** |