Changeset 30c3898 in rtems for testsuites


Ignore:
Timestamp:
Mar 3, 2018, 12:24:42 PM (22 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
c4d35fb
Parents:
9d62874
git-author:
Sebastian Huber <sebastian.huber@…> (03/03/18 12:24:42)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/18/18 08:44:18)
Message:

libblock: Init deps in rtems_blkdev_create()

Update #3358.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/libtests/block17/init.c

    r9d62874 r30c3898  
    11/*
    2  * Copyright (c) 2013 embedded brains GmbH.  All rights reserved.
     2 * Copyright (c) 2013, 2018 embedded brains GmbH.  All rights reserved.
    33 *
    44 *  embedded brains GmbH
     
    1818
    1919#include <rtems/bdbuf.h>
     20#include <rtems/blkdev.h>
    2021
    2122#include "tmacros.h"
     
    2526static void test(void)
    2627{
    27   rtems_status_code sc = rtems_bdbuf_init();
     28  rtems_status_code sc;
     29
     30  sc = rtems_bdbuf_init();
    2831  rtems_test_assert(sc == RTEMS_INVALID_NUMBER);
     32
     33  sc = rtems_blkdev_create(NULL, 0, 0, NULL, NULL);
     34  rtems_test_assert(sc == RTEMS_INCORRECT_STATE);
    2935}
    3036
Note: See TracChangeset for help on using the changeset viewer.