mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests: fix warnings on OpenBSD for unused imports in by-util/test_*
Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
parent
c25ba39ce6
commit
008dd38a0d
5 changed files with 10 additions and 0 deletions
|
@ -15,6 +15,7 @@ use crate::common::util::TestScenario;
|
|||
#[cfg(all(unix, feature = "chmod"))]
|
||||
use nix::unistd::{close, dup};
|
||||
use regex::Regex;
|
||||
#[cfg(not(target_os = "openbsd"))]
|
||||
use std::collections::HashMap;
|
||||
#[cfg(target_os = "linux")]
|
||||
use std::ffi::OsStr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue