@@ -472,7 +472,7 @@ mod tests {
472472
473473 #[ test]
474474 fn test_thread_ids ( ) {
475- let main_tid = unsafe { uucore :: libc:: gettid ( ) } ;
475+ let main_tid = unsafe { crate :: libc:: gettid ( ) } ;
476476 std:: thread:: spawn ( move || {
477477 let mut pid_entry = ProcessInformation :: try_new (
478478 PathBuf :: from_str ( & format ! ( "/proc/{}" , current_pid( ) ) ) . unwrap ( ) ,
@@ -482,7 +482,7 @@ mod tests {
482482
483483 assert ! ( thread_ids. contains( & ( main_tid as usize ) ) ) ;
484484
485- let new_thread_tid = unsafe { uucore :: libc:: gettid ( ) } ;
485+ let new_thread_tid = unsafe { crate :: libc:: gettid ( ) } ;
486486 assert ! ( thread_ids. contains( & ( new_thread_tid as usize ) ) ) ;
487487 } )
488488 . join ( )
@@ -507,9 +507,9 @@ mod tests {
507507 PathBuf :: from_str ( & format ! ( "/proc/{}" , current_pid( ) ) ) . unwrap ( ) ,
508508 )
509509 . unwrap ( ) ;
510- assert_eq ! ( pid_entry. uid( ) . unwrap( ) , uucore :: process:: getuid( ) ) ;
511- assert_eq ! ( pid_entry. euid( ) . unwrap( ) , uucore :: process:: geteuid( ) ) ;
512- assert_eq ! ( pid_entry. gid( ) . unwrap( ) , uucore :: process:: getgid( ) ) ;
513- assert_eq ! ( pid_entry. egid( ) . unwrap( ) , uucore :: process:: getegid( ) ) ;
510+ assert_eq ! ( pid_entry. uid( ) . unwrap( ) , crate :: process:: getuid( ) ) ;
511+ assert_eq ! ( pid_entry. euid( ) . unwrap( ) , crate :: process:: geteuid( ) ) ;
512+ assert_eq ! ( pid_entry. gid( ) . unwrap( ) , crate :: process:: getgid( ) ) ;
513+ assert_eq ! ( pid_entry. egid( ) . unwrap( ) , crate :: process:: getegid( ) ) ;
514514 }
515515}
0 commit comments