There was an error while loading. Please reload this page.
1 parent a365184 commit 0898f2aCopy full SHA for 0898f2a
uefi-test-runner/src/proto/rng.rs
@@ -3,7 +3,7 @@ use uefi::proto::rng::Rng;
3
use uefi::table::boot::{BootServices, OpenProtocolAttributes, OpenProtocolParams};
4
5
pub fn test(image: Handle, bt: &BootServices) {
6
- info!("Running loaded image protocol test");
+ info!("Running rng protocol test");
7
8
let rng = bt
9
.open_protocol::<Rng>(
@@ -14,8 +14,6 @@ pub fn test(image: Handle, bt: &BootServices) {
14
},
15
OpenProtocolAttributes::Exclusive,
16
)
17
- .expect_success("Failed to open LoadedImage protocol");
+ .expect_success("Failed to open Rng protocol");
18
let _rng = unsafe { &*rng.interface.get() };
19
-
20
- info!("Rng loaded !");
21
}
0 commit comments