pinky: fix warnings for tests on OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
Laurent Cheylus
2025-11-09 08:53:53 +01:00
parent 9b9a913d68
commit 3638d6c601
+3 -1
View File
@@ -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() {