[U-Boot] [PATCH 06/27] test: dm: blk: Correct blk_base test case

Simon Glass sjg at chromium.org
Thu Sep 27 13:42:15 UTC 2018


On 23 September 2018 at 06:42, Bin Meng <bmeng.cn at gmail.com> wrote:
> The blk_base test case creates a USB mass storage block device with
> the Sandbox host block device as its parent. This does not make any
> sense and causes potential issue, for example if the test case tries
> to read/write anything on the USB mass storage block device it will
> definitely fail as its parent is not on USB bus at all.
>
> Correct the test case by creating another Sandbox host block device
> instead of the USB mass storage one and adjust the case accordingly.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  test/dm/blk.c | 27 +++++++++++----------------
>  1 file changed, 11 insertions(+), 16 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list