From 7ea12112adae6884e11c76fef65b738b62de119b Mon Sep 17 00:00:00 2001 From: xtqqczze <45661989+xtqqczze@users.noreply.github.com> Date: Sat, 16 May 2026 20:54:31 +0100 Subject: [PATCH] fix: unused import on redox --- src/uucore/src/lib/features/process.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uucore/src/lib/features/process.rs b/src/uucore/src/lib/features/process.rs index 40d394c40..06274eb59 100644 --- a/src/uucore/src/lib/features/process.rs +++ b/src/uucore/src/lib/features/process.rs @@ -169,11 +169,11 @@ impl ChildExt for Child { #[cfg(test)] mod tests { - use super::*; - #[test] #[cfg(not(target_os = "redox"))] fn test_getsid() { + use super::{getpid, getsid}; + assert_eq!( getsid(getpid()).expect("getsid(getpid)"), // zero is a special value for SID.