tests/acceptance/boot_linux: Expand SD card image to power of 2
commit6a289a5ba3383e17fb47029720425bef42e424d7
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 7 Jul 2020 13:05:27 +0000 (7 15:05 +0200)
committerPhilippe Mathieu-Daudé <f4bug@amsat.org>
Tue, 14 Jul 2020 13:38:22 +0000 (14 15:38 +0200)
treeb64870079bb877ac58113313b0929840d41bfb70
parentb7dcbf1395da960ec3c313300dc0030674de8cd1
tests/acceptance/boot_linux: Expand SD card image to power of 2

In few commits we won't allow SD card images with invalid size
(not aligned to a power of 2). Prepare the tests: add the
pow2ceil() and image_pow2ceil_expand() methods and resize the
images (expanding) of the tests using SD cards.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-Id: <20200713183209.26308-5-f4bug@amsat.org>
tests/acceptance/boot_linux_console.py