mirror of
https://github.com/clearlinux/clr-boot-manager.git
synced 2026-10-03 23:38:21 +00:00
tests: Write a fake UUID out for the purposes of LUKS code validation
Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>
This commit is contained in:
committed by
William Douglas
parent
5e9915ea8d
commit
7db0f894ce
+4
-1
@@ -399,7 +399,10 @@ BootManager *prepare_playground(PlaygroundConfig *config)
|
||||
CbmDeviceProbe *root = m->sysconfig->root_device;
|
||||
if (prepare_count % 2 == 0) {
|
||||
*root = (CbmDeviceProbe){
|
||||
.dev = 0, .part_uuid = strdup("DUMMY_UUID"), .uuid = strdup("UUID"),
|
||||
.dev = 0,
|
||||
.part_uuid = strdup("DUMMY_UUID"),
|
||||
.uuid = strdup("UUID"),
|
||||
.luks_uuid = strdup("fakeLuksUUID"),
|
||||
};
|
||||
} else {
|
||||
*root = (CbmDeviceProbe){
|
||||
|
||||
Reference in New Issue
Block a user