Changeset dd66fda in rtems


Ignore:
Timestamp:
Aug 4, 2018, 8:47:56 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
ab96aec
Parents:
1836c6a
git-author:
Sebastian Huber <sebastian.huber@…> (08/04/18 08:47:56)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/07/18 05:17:18)
Message:

tests: Avoid deprecated rtems_disk_io_initialize()

Update #3358.

Location:
testsuites
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • testsuites/fstests/fsdosfsformat01/init.c

    r1836c6a rdd66fda  
    177177  memset( &rqdata, 0, sizeof( rqdata ) );
    178178
    179   sc = rtems_disk_io_initialize();
    180   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    181 
    182179  rv = mkdir( mount_dir, S_IRWXU | S_IRWXG | S_IRWXO );
    183180  rtems_test_assert( 0 == rv );
  • testsuites/fstests/fsdosfssync01/init.c

    r1836c6a rdd66fda  
    101101  int rv;
    102102
    103   sc = rtems_disk_io_initialize();
    104   rtems_test_assert(sc == RTEMS_SUCCESSFUL);
    105 
    106103  disk_fd = open(rda, O_RDWR);
    107104  rtems_test_assert(disk_fd >= 0);
  • testsuites/fstests/fsdosfswrite01/init.c

    r1836c6a rdd66fda  
    252252  int               rv;
    253253
    254 
    255   sc = rtems_disk_io_initialize();
    256   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    257 
    258254  rv = mkdir( mount_dir, S_IRWXU | S_IRWXG | S_IRWXO );
    259255  rtems_test_assert( 0 == rv );
  • testsuites/libtests/block11/init.c

    r1836c6a rdd66fda  
    402402static rtems_task Init(rtems_task_argument argument)
    403403{
    404   rtems_status_code sc;
    405 
    406404  TEST_BEGIN();
    407 
    408   sc = rtems_disk_io_initialize();
    409   ASSERT_SC(sc);
    410405
    411406  test_blkdev_imfs_read_and_write();
     
    413408  test_blkdev_imfs_errors();
    414409
    415   sc = rtems_disk_io_done();
    416   ASSERT_SC(sc);
    417 
    418410  TEST_END();
    419 
    420411  exit(0);
    421412}
  • testsuites/libtests/block16/init.c

    r1836c6a rdd66fda  
    4848  rtems_bdbuf_buffer *large_bd;
    4949  rtems_blkdev_bnum i;
    50 
    51   sc = rtems_disk_io_initialize();
    52   ASSERT_SC(sc);
    5350
    5451  for (i = 0; i < media_block_count; ++i) {
  • testsuites/libtests/sparsedisk01/init.c

    r1836c6a rdd66fda  
    359359  uint8_t           fill_pattern = 0;
    360360
    361 
    362   sc = rtems_disk_io_initialize();
    363   rtems_test_assert( sc == RTEMS_SUCCESSFUL );
    364 
    365361  block_size       = 512;
    366362  block_number     = 4 * 2 * 1024;
Note: See TracChangeset for help on using the changeset viewer.