From 3638d6c6012135141a8ecd6e37720500850fc3e0 Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Sat, 8 Nov 2025 17:10:55 +0100 Subject: [PATCH] pinky: fix warnings for tests on OpenBSD Signed-off-by: Laurent Cheylus --- tests/by-util/test_pinky.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/by-util/test_pinky.rs b/tests/by-util/test_pinky.rs index 977647de8..cb52bff23 100644 --- a/tests/by-util/test_pinky.rs +++ b/tests/by-util/test_pinky.rs @@ -5,9 +5,11 @@ #[cfg(not(target_os = "openbsd"))] use uucore::entries::{Locate, Passwd}; +use uutests::new_ucmd; #[cfg(not(target_os = "openbsd"))] use uutests::util::{TestScenario, expected_result}; -use uutests::{new_ucmd, unwrap_or_return, util_name}; +#[cfg(not(target_os = "openbsd"))] +use uutests::{unwrap_or_return, util_name}; #[test] fn test_invalid_arg() {