diff options
| author | Peter Jones <pjones@redhat.com> | 2021-08-03 13:11:14 -0400 |
|---|---|---|
| committer | Peter Jones <pjones@redhat.com> | 2021-09-07 17:05:04 -0400 |
| commit | 54bc72cf0abd306d96782cdfa6db7c71ff72e056 (patch) | |
| tree | d5a52d1a05c4084edbc444a6b9bb2891ff3a8645 /include/mock-variables.h | |
| parent | 2c9eebcf6ddd198c5ba49d784c4536d05023c28b (diff) | |
| download | efi-boot-shim-54bc72cf0abd306d96782cdfa6db7c71ff72e056.tar.gz efi-boot-shim-54bc72cf0abd306d96782cdfa6db7c71ff72e056.zip | |
tests: model different behaviors for deleting variables
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'include/mock-variables.h')
| -rw-r--r-- | include/mock-variables.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mock-variables.h b/include/mock-variables.h index 7ba00847..fc276ce7 100644 --- a/include/mock-variables.h +++ b/include/mock-variables.h @@ -41,6 +41,11 @@ typedef enum { extern mock_sort_policy_t mock_variable_sort_policy; +#define MOCK_VAR_DELETE_ATTR_ALLOW_ZERO 0x01 +#define MOCK_VAR_DELETE_ATTR_ALOW_MISMATCH 0x02 + +extern UINT32 mock_variable_delete_attr_policy; + extern list_t mock_default_variable_limits; extern list_t *mock_qvi_limits; extern list_t *mock_sv_limits; |
