From 1004ba7f63f06bc358444877518603b518b9d512 Mon Sep 17 00:00:00 2001 From: Daniel Hofstetter Date: Sat, 16 Aug 2025 16:57:43 +0200 Subject: [PATCH] users: fix unused imports in tests on FreeBSD --- tests/by-util/test_users.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_users.rs b/tests/by-util/test_users.rs index ec77ffff5..0d3d7772b 100644 --- a/tests/by-util/test_users.rs +++ b/tests/by-util/test_users.rs @@ -3,8 +3,8 @@ // For the full copyright and license information, please view the LICENSE // file that was distributed with this source code. use uutests::new_ucmd; -use uutests::util::TestScenario; -use uutests::util_name; +#[cfg(any(target_vendor = "apple", target_os = "linux"))] +use uutests::{util::TestScenario, util_name}; #[test] fn test_invalid_arg() {