mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
tests: add CVM test for landlock
Add a CVM integration test for landlock that validates the same functionality using a confidential guest with the basic_cvm_guest macro. Signed-off-by: Muminul Islam <muislam@microsoft.com>
This commit is contained in:
committed by
Rob Bradford
parent
833d1d39a5
commit
9564b4f278
@@ -262,4 +262,10 @@ mod common_cvm {
|
||||
basic_cvm_guest!(JAMMY_IMAGE_NAME).with_memory(&format!("{guest_memory_size_kb}K"));
|
||||
_test_memory_overhead(&guest, guest_memory_size_kb);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn test_landlock() {
|
||||
let guest = basic_cvm_guest!(JAMMY_IMAGE_NAME);
|
||||
_test_landlock(&guest);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user