@@ -25,7 +25,8 @@ use std::path::PathBuf;
2525 not( target_os = "freebsd" ) ,
2626 feature = "printf"
2727) ) ]
28- use std:: process:: { Command , Stdio } ;
28+ use std:: process:: Command ;
29+ use std:: process:: Stdio ;
2930#[ cfg( not( windows) ) ]
3031use std:: thread:: sleep;
3132#[ cfg( not( windows) ) ]
@@ -674,7 +675,6 @@ fn test_skip_beyond_file() {
674675fn test_skip_beyond_file_seekable_stdin ( ) {
675676 // When stdin is a seekable file, dd should use seek to skip bytes.
676677 // This tests that skipping beyond the file size issues a warning.
677- use std:: process:: Stdio ;
678678
679679 // Test cases: (bs, skip) pairs that skip beyond a 4-byte file
680680 let test_cases = [
@@ -1760,8 +1760,6 @@ fn test_iflag_directory_fails_when_file_is_piped_via_std_in() {
17601760
17611761#[ test]
17621762fn test_stdin_stdout_not_rewound_even_when_connected_to_seekable_file ( ) {
1763- use std:: process:: Stdio ;
1764-
17651763 let ts = TestScenario :: new ( util_name ! ( ) ) ;
17661764 let at = & ts. fixtures ;
17671765
@@ -1821,8 +1819,6 @@ fn test_wrong_number_err_msg() {
18211819#[ test]
18221820#[ cfg( unix) ]
18231821fn test_no_dropped_writes ( ) {
1824- use std:: process:: Stdio ;
1825-
18261822 const BLK_SIZE : usize = 0x4000 ;
18271823 const COUNT : usize = 1000 ;
18281824 const NUM_BYTES : usize = BLK_SIZE * COUNT ;
0 commit comments