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
|
@ -11,11 +11,14 @@ use regex::Regex;
|
|||
use crate::common::util::expected_result;
|
||||
use crate::common::util::TestScenario;
|
||||
|
||||
#[cfg(not(target_os = "openbsd"))]
|
||||
const SUB_DIR: &str = "subdir/deeper";
|
||||
const SUB_DEEPER_DIR: &str = "subdir/deeper/deeper_dir";
|
||||
const SUB_DIR_LINKS: &str = "subdir/links";
|
||||
const SUB_DIR_LINKS_DEEPER_SYM_DIR: &str = "subdir/links/deeper_dir";
|
||||
#[cfg(not(target_os = "openbsd"))]
|
||||
const SUB_FILE: &str = "subdir/links/subwords.txt";
|
||||
#[cfg(not(target_os = "openbsd"))]
|
||||
const SUB_LINK: &str = "subdir/links/sublink.txt";
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue