Skip to content

Commit

Permalink
test-runner: Test boot::get_image_file_system
Browse files Browse the repository at this point in the history
The BootServices::get_image_file_system version is still called in
`test_load_image`.
  • Loading branch information
nicholasbishop committed Aug 12, 2024
1 parent deafff8 commit a99219d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions uefi-test-runner/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,8 @@ fn efi_main(image: Handle, mut st: SystemTable<Boot>) -> Status {
// Check the `uefi::system` module.
check_system(&st);

// Test all the boot services.
let bt = st.boot_services();

// Try retrieving a handle to the file system the image was booted from.
bt.get_image_file_system(image)
.expect("Failed to retrieve boot file system");
uefi::boot::get_image_file_system(image).expect("Failed to retrieve boot file system");

boot::test(&st);

Expand Down

0 comments on commit a99219d

Please sign in to comment.