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:
Ikey Doherty
2017-01-25 18:37:29 -08:00
committed by William Douglas
parent 5e9915ea8d
commit 7db0f894ce
+4 -1
View File
@@ -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){