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 @@ -85,14 +85,14 @@ mod nvme;
85
85
mod pi;
86
86
mod rng;
87
87
mod scsi;
88
- mod shell_params;
89
88
#[ cfg( any(
90
89
target_arch = "x86" ,
91
90
target_arch = "x86_64" ,
92
91
target_arch = "arm" ,
93
92
target_arch = "aarch64"
94
93
) ) ]
95
94
mod shell;
95
+ mod shell_params;
96
96
mod shim;
97
97
mod string;
98
98
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