add pytests for 'gpt rename' and 'gpt swap'
authorAlison Chaiken <alison@peloton-tech.com>
Sun, 10 Sep 2017 06:54:51 +0000 (23:54 -0700)
committerTom Rini <trini@konsulko.com>
Fri, 15 Sep 2017 01:32:59 +0000 (21:32 -0400)
commitc5772188ede914b0e67c2a58ae179039a582afe0
tree7e9f0b9aadc81ef112da3bbfb7d7d9796e659339
parenta2f422555fc80144aea418c0d8e95341acfe6868
add pytests for 'gpt rename' and 'gpt swap'

Add unit tests for the 'gpt rename' and 'gpt swap' commands that
rely on the block device created by test/py/make_test_disk.py.
Add CONFIG_CMD_GPT_RENAME to the sandbox_defconfig.  Remove the
testdisk.raw test device at the end of the tests.

Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
configs/sandbox_defconfig
test/py/tests/test_gpt.py