change log for rtems (2010-07-16)
rtems-vc at rtems.org
rtems-vc at rtems.org
Fri Jul 16 15:11:05 UTC 2010
*joel*:
2010-07-16 Bharath Suri <bharath.s.jois at gmail.com>
PR 1617/testing
* spmountmgr01/init.c, spmountmgr01/spmountmgr01.scn,
spmountmgr01/spmountmgr01.doc: Added cases to exercise
mount-mktgt.c.
M 1.405 testsuites/sptests/ChangeLog
M 1.2 testsuites/sptests/spmountmgr01/init.c
M 1.2 testsuites/sptests/spmountmgr01/spmountmgr01.doc
M 1.2 testsuites/sptests/spmountmgr01/spmountmgr01.scn
diff -u rtems/testsuites/sptests/ChangeLog:1.404 rtems/testsuites/sptests/ChangeLog:1.405
--- rtems/testsuites/sptests/ChangeLog:1.404 Thu Jul 15 08:53:27 2010
+++ rtems/testsuites/sptests/ChangeLog Fri Jul 16 10:01:11 2010
@@ -1,3 +1,10 @@
+2010-07-16 Bharath Suri <bharath.s.jois at gmail.com>
+
+ PR 1617/testing
+ * spmountmgr01/init.c, spmountmgr01/spmountmgr01.scn,
+ spmountmgr01/spmountmgr01.doc: Added cases to exercise
+ mount-mktgt.c.
+
2010-07-15 Bharath Suri <bharath.s.jois at gmail.com>
PR 1617/testing
diff -u rtems/testsuites/sptests/spmountmgr01/init.c:1.1 rtems/testsuites/sptests/spmountmgr01/init.c:1.2
--- rtems/testsuites/sptests/spmountmgr01/init.c:1.1 Thu Jul 15 08:53:28 2010
+++ rtems/testsuites/sptests/spmountmgr01/init.c Fri Jul 16 10:01:11 2010
@@ -50,6 +50,27 @@
status = rtems_filesystem_register( "fs", fs_mount );
rtems_test_assert( status == 0 );
+ puts( "Init - attempt to make target(NULL) and mount - expect EINVAL" );
+ status = mount_and_make_target_path(
+ NULL,
+ NULL,
+ "fs",
+ 0,
+ NULL );
+ rtems_test_assert( status == -1 );
+ rtems_test_assert( errno == EINVAL );
+
+ puts( "Init - attempt to make target and mount - expect EINVAL" );
+ status = mount_and_make_target_path(
+ NULL,
+ "/tmp",
+ "fs",
+ 2,
+ NULL );
+ rtems_test_assert( status == -1 );
+ rtems_test_assert( errno == EINVAL );
+
+
puts( "Init - register filesystem fs - expect EINVAL" );
status = rtems_filesystem_register( "fs", fs_mount );
rtems_test_assert( status == -1 );
diff -u rtems/testsuites/sptests/spmountmgr01/spmountmgr01.doc:1.1 rtems/testsuites/sptests/spmountmgr01/spmountmgr01.doc:1.2
--- rtems/testsuites/sptests/spmountmgr01/spmountmgr01.doc:1.1 Thu Jul 15 08:53:28 2010
+++ rtems/testsuites/sptests/spmountmgr01/spmountmgr01.doc Fri Jul 16 10:01:11 2010
@@ -17,9 +17,13 @@
+ rtems_filesystem_register
+ rtems_filesystem_unregister
++ mount_and_make_target_path
concepts:
-+ Exercise the routines of mount-mgr.c under libcsupport.
-+ These routines are mostly to register / unregister new filesytem
++ Exercise the routines of mount-mgr.c and mount-mktgt.c under libcsupport.
++ The routines in mount-mgr.c are mostly to register / unregister new filesytem
for later use.
++ The routines in mount-mktgt.c are used to mount a filesystem at a
+target path. If the target path does not exist, it is created and then
+the mount is processed
diff -u rtems/testsuites/sptests/spmountmgr01/spmountmgr01.scn:1.1 rtems/testsuites/sptests/spmountmgr01/spmountmgr01.scn:1.2
--- rtems/testsuites/sptests/spmountmgr01/spmountmgr01.scn:1.1 Thu Jul 15 08:53:28 2010
+++ rtems/testsuites/sptests/spmountmgr01/spmountmgr01.scn Fri Jul 16 10:01:11 2010
@@ -1,8 +1,11 @@
+
*** 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 - attempt to make target(NULL) and mount - expect EINVAL
+Init - attempt to make target and mount - expect EINVAL
Init - register filesystem fs - expect EINVAL
Init - register filesystem bfs -- OK
Init - register filesystem bfs - expect EINVAL
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20100716/881ffc4e/attachment-0001.html>
More information about the vc
mailing list