mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
fix: unused import on redox
This commit is contained in:
committed by
Daniel Hofstetter
parent
aa30c10300
commit
7ea12112ad
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user