File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
uefi-test-runner/src/proto Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -90,14 +90,14 @@ mod pci;
90
90
mod pi;
91
91
mod rng;
92
92
mod scsi;
93
- mod shell_params;
94
93
#[ cfg( any(
95
94
target_arch = "x86" ,
96
95
target_arch = "x86_64" ,
97
96
target_arch = "arm" ,
98
97
target_arch = "aarch64"
99
98
) ) ]
100
99
mod shell;
100
+ mod shell_params;
101
101
mod shim;
102
102
mod string;
103
103
mod tcg;
Original file line number Diff line number Diff line change 1
- use uefi:: CStr16 ;
2
1
use uefi:: boot;
3
2
use uefi:: proto:: shell:: Shell ;
3
+ use uefi:: CStr16 ;
4
4
5
5
pub fn test ( ) {
6
6
info ! ( "Running shell protocol tests" ) ;
7
7
8
8
let handle = boot:: get_handle_for_protocol :: < Shell > ( ) . expect ( "No Shell handles" ) ;
9
9
10
- let mut shell = boot :: open_protocol_exclusive :: < Shell > ( handle )
11
- . expect ( "Failed to open Shell protocol" ) ;
10
+ let mut shell =
11
+ boot :: open_protocol_exclusive :: < Shell > ( handle ) . expect ( "Failed to open Shell protocol" ) ;
12
12
13
13
// create some files
14
14
let mut test_buf = [ 0u16 ; 12 ] ;
You can’t perform that action at this time.
0 commit comments