From 09ab66b0dd6588a1c2a3d37c4a2d2cd5fa9ab456 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 57a2e846554..52e8b60fed8 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.