From 7db0f894cec91526a480180d97f05ca18de4bbfc Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Wed, 25 Jan 2017 20:12:46 +0000 Subject: [PATCH] tests: Write a fake UUID out for the purposes of LUKS code validation Signed-off-by: Ikey Doherty --- tests/harness.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/harness.c b/tests/harness.c index 466e023..544a605 100644 --- a/tests/harness.c +++ b/tests/harness.c @@ -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){