From e9ef08622d71c9405feff92cd93fe6f519210f2a Mon Sep 17 00:00:00 2001 From: Laurent Cheylus Date: Thu, 13 Nov 2025 09:40:11 +0100 Subject: [PATCH] hostname: enable test test_hostname_ip on OpenBSD Signed-off-by: Laurent Cheylus --- tests/by-util/test_hostname.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/by-util/test_hostname.rs b/tests/by-util/test_hostname.rs index aedf7d015..e4f30c3e5 100644 --- a/tests/by-util/test_hostname.rs +++ b/tests/by-util/test_hostname.rs @@ -14,8 +14,8 @@ fn test_hostname() { assert!(ls_default_res.stdout().len() >= ls_domain_res.stdout().len()); } -// FixME: fails for "MacOS" and "OpenBSD" => "failed to lookup address information" -#[cfg(not(any(target_os = "macos", target_os = "openbsd")))] +// FixME: fails for "MacOS" => "failed to lookup address information" +#[cfg(not(any(target_os = "macos")))] #[test] fn test_hostname_ip() { let result = new_ucmd!().arg("-i").succeeds();