gpt: add write function and gptrepair command
The first hint of something practical, a command that can restore any of the GPT structures from the alternate location. New test case must run under QEMU because the loopback device used by the other unit tests does not support writing.
This commit is contained in:
parent
478458d404
commit
051545ddf0
6 changed files with 277 additions and 4 deletions
|
@ -1150,6 +1150,12 @@ script = {
|
|||
common = tests/grub_cmd_tr.in;
|
||||
};
|
||||
|
||||
script = {
|
||||
testcase;
|
||||
name = gptrepair_test;
|
||||
common = tests/gptrepair_test.in;
|
||||
};
|
||||
|
||||
program = {
|
||||
testcase;
|
||||
name = example_unit_test;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue