]> git.ipfire.org Git - people/ms/u-boot.git/commit
test/py: gpt: test start LBA for sub-command rename and swap
authorPatrick Delaunay <patrick.delaunay@st.com>
Wed, 18 Oct 2017 13:11:07 +0000 (15:11 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 23 Oct 2017 21:28:08 +0000 (17:28 -0400)
commit0cf02ff612c05800cb65fb496ac55454c36df64b
tree3110eda9dd16b8a65c51fafbeede9e4d672e61f2
parentb61a3b5c8d3de4a5f141effe412a457b21ba6060
test/py: gpt: test start LBA for sub-command rename and swap

Add test of first and last LBA in gpt for rename and swap.
Only the name is expected to change, so test 3 columns
for part command
1: first LBA (start)
2: last LBA (end)
3: partition name

After rename, the last LBA change and it is a error in current U-Boot code
+ "first" = 0x7ff : invalid value (<start)
+ "second" = 0x17ff => size increasing !

Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
test/py/tests/test_gpt.py