Negative path testing in a bootloader environment
AssigneeVMware, Inc.
InventorsDaniel Muller, Andrei Warkentin
Life of this patent
Estimating the term…
Abstract
Negative path testing in a bootloader environment can include backing up a global state of a component under test, injecting a fault to trigger an error in the component under test in a bootloader environment, executing error handling instructions until a checkpoint of the component under test in the bootloader environment is reached, restoring the global state to the component under test from the backup, and restarting the component under test.
Claims20
A method for negative path testing in a bootloader environment, comprising:
- backing up a global state of a component under test in a file, the file containing a mutable version of the global state and an immutable version of the global state;
- injecting a fault to trigger an error in the component under test in a bootloader environment;
- executing error handling instructions until a checkpoint of the component under test in the bootloader environment is reached;
- restoring the global state to the component under test from the backup by using the immutable version of the global state;
- and
- restarting the component under test.
A non-transitory computer readable medium storing instructions for negative path testing in a bootloader environment, the instructions, when executed by a processor, cause the processor to at least:
- back up a global state of a component under test in a file, the file containing a mutable version of the global state and an immutable version of the global state;
- inject a fault to trigger an error in the component under test in a bootloader environment;
- execute error handling instructions until a checkpoint of the component under test in the bootloader environment is reached;
- restore the global state to the component under test from the backup by using the immutable version of the global state;
- and
- restart the component under test.
A system for negative path testing in a bootloader environment, comprising:
- at least one processor;
- and
- a memory storing instructions executable by the processor, the instructions causing the at least one processor to at least:
- back up a global state of a component under test in a file, the file containing a mutable version of the global state and an immutable version of the global state;
- inject a fault to trigger an error in the component under test in a bootloader environment;
- execute error handling instructions until a checkpoint of the component under test in the bootloader environment is reached;
- restore the global state to the component under test from the backup by using the immutable version of the global state;
- and
- restart the component under test.
Dependencies are inferred from the claim text.