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

Simon Glass
2017-09-12T12:29:28Z

On 10 September 2017 at 00:47, <alison@peloton-tech.com> wrote:
> From: Alison Chaiken <alison@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@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@chromium.org>

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