From a8794b5b2bf271456fdda2261685487a543a2838 Mon Sep 17 00:00:00 2001 From: xiaoyuxlu Date: Wed, 11 Jan 2023 21:33:21 -0500 Subject: [PATCH] Coverage: Fix #494, Ensure dma is not released. Signed-off-by: xiaoyuxlu --- td-payload/src/bin/example/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/td-payload/src/bin/example/main.rs b/td-payload/src/bin/example/main.rs index 2e376402..9710c61d 100644 --- a/td-payload/src/bin/example/main.rs +++ b/td-payload/src/bin/example/main.rs @@ -77,6 +77,7 @@ pub extern "C" fn main() -> ! { buffer.as_ptr() as u64, coverage_len ); + loop {} } panic!("td-payload: all tests finished and enters dead loop");