From 316b7eab1b33b3284ab49b6348a2c98fe83accc7 Mon Sep 17 00:00:00 2001 From: Patrick Roy Date: Mon, 11 Nov 2024 13:04:00 +0000 Subject: [PATCH] test: verify PVH boot protocol is used Use test_api_happy_start to assert that the log message that indicates usage of PVH boot protocol is present. Signed-off-by: Patrick Roy --- tests/integration_tests/functional/test_api.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration_tests/functional/test_api.py b/tests/integration_tests/functional/test_api.py index 5aebe7b5265f..471694517ec3 100644 --- a/tests/integration_tests/functional/test_api.py +++ b/tests/integration_tests/functional/test_api.py @@ -42,6 +42,8 @@ def test_api_happy_start(uvm_plain): test_microvm.start() + assert "Kernel loaded using PVH boot protocol" in test_microvm.log_data + def test_drive_io_engine(uvm_plain): """