File tree Expand file tree Collapse file tree 6 files changed +5
-2
lines changed
Expand file tree Collapse file tree 6 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1212
1313use std:: collections:: HashSet ;
1414
15+ #[ cfg( not( any( target_os = "freebsd" , target_os = "windows" ) ) ) ]
1516use uu_tests_common:: at_and_ucmd;
1617use uu_tests_common:: new_ucmd;
1718use uu_tests_common:: util:: TestScenario ;
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ use regex::Regex;
99
1010use uu_tests_common:: at_and_ucmd;
1111use uu_tests_common:: new_ucmd;
12+ #[ cfg( any( target_os = "linux" , target_os = "android" ) ) ]
1213use uu_tests_common:: unwrap_or_return;
1314#[ cfg( not( target_os = "windows" ) ) ]
1415use uu_tests_common:: util:: expected_result;
Original file line number Diff line number Diff line change 1111use libc:: mode_t;
1212#[ cfg( not( windows) ) ]
1313use std:: os:: unix:: fs:: PermissionsExt ;
14+ #[ cfg( not( windows) ) ]
1415use uu_tests_common:: at_and_ucmd;
1516use uu_tests_common:: new_ucmd;
1617use uu_tests_common:: util:: TestScenario ;
Original file line number Diff line number Diff line change 33// For the full copyright and license information, please view the LICENSE
44// file that was distributed with this source code.
55use std:: io:: IsTerminal ;
6+ #[ cfg( target_family = "unix" ) ]
67use uu_tests_common:: at_and_ucmd;
78use uu_tests_common:: new_ucmd;
89use uu_tests_common:: util:: TestScenario ;
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ use tail::text;
4242use uu_tests_common:: at_and_ucmd;
4343use uu_tests_common:: new_ucmd;
4444use uu_tests_common:: random:: { AlphanumericNewline , RandomizedString } ;
45- use uu_tests_common:: unwrap_or_return;
4645#[ cfg( unix) ]
46+ use uu_tests_common:: unwrap_or_return;
4747use uu_tests_common:: util:: expected_result;
4848#[ cfg( unix) ]
4949#[ cfg( not( windows) ) ]
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ use uu_tests_common::new_ucmd;
88use uu_tests_common:: unwrap_or_return;
99#[ cfg( unix) ]
1010use uu_tests_common:: util:: expected_result;
11- #[ cfg( unix) ]
1211use uu_tests_common:: util:: { is_ci, whoami, TestScenario } ;
1312use uu_tests_common:: util_name;
1413
You can’t perform that action at this time.
0 commit comments