Changeset 917e4b4 in rtems


Ignore:
Timestamp:
Jul 16, 2010, 3:01:11 PM (9 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
24db9ba
Parents:
b8e7e2f
Message:

2010-07-16 Bharath Suri <bharath.s.jois@…>

PR 1617/testing

  • spmountmgr01/init.c, spmountmgr01/spmountmgr01.scn, spmountmgr01/spmountmgr01.doc: Added cases to exercise mount-mktgt.c.
Location:
testsuites/sptests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/ChangeLog

    rb8e7e2f r917e4b4  
     12010-07-16      Bharath Suri <bharath.s.jois@gmail.com>
     2
     3        PR 1617/testing
     4        * spmountmgr01/init.c, spmountmgr01/spmountmgr01.scn,
     5        spmountmgr01/spmountmgr01.doc: Added cases to exercise
     6        mount-mktgt.c.
     7
    182010-07-15      Bharath Suri <bharath.s.jois@gmail.com>
    29
  • testsuites/sptests/spmountmgr01/init.c

    rb8e7e2f r917e4b4  
    5151  rtems_test_assert( status == 0 );
    5252
     53  puts( "Init - attempt to make target(NULL) and mount - expect EINVAL" );
     54  status = mount_and_make_target_path(
     55             NULL,
     56             NULL,
     57             "fs",
     58             0,
     59             NULL );
     60  rtems_test_assert( status == -1 );
     61  rtems_test_assert( errno == EINVAL );
     62
     63  puts( "Init - attempt to make target and mount - expect EINVAL" );
     64  status = mount_and_make_target_path(
     65             NULL,
     66             "/tmp",
     67             "fs",
     68             2,
     69             NULL );
     70  rtems_test_assert( status == -1 );
     71  rtems_test_assert( errno == EINVAL );
     72
     73             
    5374  puts( "Init - register filesystem fs - expect EINVAL" );
    5475  status = rtems_filesystem_register( "fs", fs_mount );
  • testsuites/sptests/spmountmgr01/spmountmgr01.scn

    rb8e7e2f r917e4b4  
     1
    12*** TEST MOUNT MANAGER ROUTINE - 01 ***
    23Init - allocating most of heap -- OK
     
    45Init - freeing allocated memory -- OK
    56Init - register filesystem fs -- OK
     7Init - attempt to make target(NULL) and mount - expect EINVAL
     8Init - attempt to make target and mount - expect EINVAL
    69Init - register filesystem fs - expect EINVAL
    710Init - register filesystem bfs -- OK
Note: See TracChangeset for help on using the changeset viewer.