mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
hostname: enable test test_hostname_ip on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user