Skip to content

Commit 136b88f

Browse files
test-runner: Assert that the firmware is EDK II
1 parent 15f10d3 commit 136b88f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

uefi-test-runner/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ fn efi_main(image: Handle, mut st: SystemTable<Boot>) -> Status {
2828
let mut buf = String::new();
2929
st.firmware_vendor().as_str_in_buf(&mut buf).unwrap();
3030
info!("Firmware Vendor: {}", buf.as_str());
31+
assert_eq!(buf, "EDK II");
3132

3233
// Test print! and println! macros.
3334
let (print, println) = ("print!", "println!"); // necessary for clippy to ignore

0 commit comments

Comments
 (0)