hostname: enable test test_hostname_ip on OpenBSD

Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
Laurent Cheylus 2025-11-13 09:40:11 +01:00
parent d4321315f1
commit e9ef08622d
No known key found for this signature in database

View file

@ -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();