Skip to content

Commit 3bff68a

Browse files
test-runner: Test boot::get_image_file_system
The BootServices::get_image_file_system version is still called in `test_load_image`.
1 parent 72b2135 commit 3bff68a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

uefi-test-runner/src/main.rs

+1-5
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,8 @@ fn efi_main(image: Handle, mut st: SystemTable<Boot>) -> Status {
4848
// Check the `uefi::system` module.
4949
check_system(&st);
5050

51-
// Test all the boot services.
52-
let bt = st.boot_services();
53-
5451
// Try retrieving a handle to the file system the image was booted from.
55-
bt.get_image_file_system(image)
56-
.expect("Failed to retrieve boot file system");
52+
uefi::boot::get_image_file_system(image).expect("Failed to retrieve boot file system");
5753

5854
boot::test(&st);
5955

0 commit comments

Comments
 (0)