@@ -1940,7 +1940,7 @@ mod inter_partition_copying {
19401940 // that needs a second uid, so it is exercised out of band rather than here.
19411941 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
19421942 #[ test]
1943- pub ( crate ) fn test_mv_inter_partition_keeps_setuid_when_ownership_preserved ( ) {
1943+ fn test_mv_inter_partition_keeps_setuid_when_ownership_preserved ( ) {
19441944 let scene = TestScenario :: new ( util_name ! ( ) ) ;
19451945 let at = & scene. fixtures ;
19461946
@@ -1972,7 +1972,7 @@ mod inter_partition_copying {
19721972 // Ensure that the copying code used in an inter-partition move unlinks the destination symlink.
19731973 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
19741974 #[ test]
1975- pub ( crate ) fn test_mv_unlinks_dest_symlink ( ) {
1975+ fn test_mv_unlinks_dest_symlink ( ) {
19761976 let scene = TestScenario :: new ( util_name ! ( ) ) ;
19771977 let at = & scene. fixtures ;
19781978
@@ -2022,7 +2022,7 @@ mod inter_partition_copying {
20222022 // that it would output the proper error message.
20232023 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
20242024 #[ test]
2025- pub ( crate ) fn test_mv_unlinks_dest_symlink_error_message ( ) {
2025+ fn test_mv_unlinks_dest_symlink_error_message ( ) {
20262026 use uutests:: util:: TestScenario ;
20272027 let scene = TestScenario :: new ( util_name ! ( ) ) ;
20282028 let at = & scene. fixtures ;
@@ -2054,8 +2054,7 @@ mod inter_partition_copying {
20542054 // Test that hardlinks are preserved when moving files across partitions
20552055 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
20562056 #[ test]
2057- #[ cfg( unix) ]
2058- pub ( crate ) fn test_mv_preserves_hardlinks_across_partitions ( ) {
2057+ fn test_mv_preserves_hardlinks_across_partitions ( ) {
20592058 use std:: fs;
20602059 use std:: os:: unix:: fs:: MetadataExt ;
20612060 use tempfile:: TempDir ;
@@ -2129,10 +2128,9 @@ mod inter_partition_copying {
21292128 // Test that hardlinks are preserved even with multiple sets of hardlinked files
21302129 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
21312130 #[ test]
2132- #[ cfg( unix) ]
21332131 #[ allow( clippy:: too_many_lines) ]
21342132 #[ allow( clippy:: similar_names) ]
2135- pub ( crate ) fn test_mv_preserves_multiple_hardlink_groups_across_partitions ( ) {
2133+ fn test_mv_preserves_multiple_hardlink_groups_across_partitions ( ) {
21362134 use std:: fs:: metadata;
21372135 use std:: os:: unix:: fs:: MetadataExt ;
21382136 use tempfile:: TempDir ;
@@ -2247,9 +2245,8 @@ mod inter_partition_copying {
22472245 #[ rstest]
22482246 #[ case:: with_minus_t( true ) ]
22492247 #[ case:: without_minus_t( false ) ]
2250- #[ cfg( unix) ]
22512248 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
2252- pub ( crate ) fn test_mv_preserves_hardlinks_in_directories_to_files_across_partitions (
2249+ fn test_mv_preserves_hardlinks_in_directories_to_files_across_partitions (
22532250 #[ case] with_minus_t : bool ,
22542251 ) {
22552252 use std:: fs:: metadata;
@@ -2316,8 +2313,7 @@ mod inter_partition_copying {
23162313 // Test hardlinks within directories being moved
23172314 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
23182315 #[ test]
2319- #[ cfg( unix) ]
2320- pub ( crate ) fn test_mv_preserves_hardlinks_in_directories_across_partitions ( ) {
2316+ fn test_mv_preserves_hardlinks_in_directories_across_partitions ( ) {
23212317 use std:: fs:: metadata;
23222318 use std:: os:: unix:: fs:: MetadataExt ;
23232319 use tempfile:: TempDir ;
@@ -2417,10 +2413,9 @@ mod inter_partition_copying {
24172413 // Test complex scenario with multiple hardlink groups across nested directories
24182414 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
24192415 #[ test]
2420- #[ cfg( unix) ]
24212416 #[ allow( clippy:: too_many_lines) ]
24222417 #[ allow( clippy:: similar_names) ]
2423- pub ( crate ) fn test_mv_preserves_complex_hardlinks_across_nested_directories ( ) {
2418+ fn test_mv_preserves_complex_hardlinks_across_nested_directories ( ) {
24242419 use std:: fs:: metadata;
24252420 use std:: os:: unix:: fs:: MetadataExt ;
24262421 use tempfile:: TempDir ;
@@ -2566,8 +2561,7 @@ mod inter_partition_copying {
25662561
25672562 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
25682563 #[ test]
2569- #[ cfg( unix) ]
2570- pub ( crate ) fn test_mv_dir_with_fifo_across_partitions ( ) {
2564+ fn test_mv_dir_with_fifo_across_partitions ( ) {
25712565 use std:: os:: unix:: fs:: FileTypeExt ;
25722566 use tempfile:: TempDir ;
25732567 use uutests:: util:: TestScenario ;
@@ -2600,8 +2594,7 @@ mod inter_partition_copying {
26002594 // self-referential symlinks and destroying the content.
26012595 #[ uutests:: wasi_ignore( HostPathsNotVisible ) ]
26022596 #[ test]
2603- #[ cfg( unix) ]
2604- pub ( crate ) fn test_mv_symlink_to_hardlinked_sibling_across_partitions ( ) {
2597+ fn test_mv_symlink_to_hardlinked_sibling_across_partitions ( ) {
26052598 use std:: os:: unix:: fs:: MetadataExt ;
26062599
26072600 let scene = TestScenario :: new ( util_name ! ( ) ) ;
0 commit comments