[U-Boot] [PATCH 1/2] GPT: create block device for sandbox testing

Simon Glass sjg at chromium.org
Tue Sep 12 12:29:28 UTC 2017


On 10 September 2017 at 00:47,  <alison at peloton-tech.com> wrote:
> From: Alison Chaiken <alison at peloton-tech.com>
>
> Provide a Python function that creates a small block device for the
> purpose of testing the cmd/gpt.c or cmd/part.c functions in the u-boot
> sandbox.
>
> Signed-off-by: Alison Chaiken <alison at peloton-tech.com>
> ---
>  board/sandbox/README.sandbox |  5 +++++
>  test/py/make_test_disk.py    | 19 +++++++++++++++++++
>  2 files changed, 24 insertions(+)
>  create mode 100755 test/py/make_test_disk.py

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

I wonder whether the 'testdisk.raw' filename could be returned by this
function so callers do not have to know it?


More information about the U-Boot mailing list