mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
tests/hostname: disable failing test_hostname::test_hostname_ip on OpenBSD
- On OpenBSD, test_hostname::test_hostname_ip fails with "failed to lookup address information:
Name does not resolve" error
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 "freebsd" "failed to lookup address information: Name does not resolve"
|
||||
#[cfg(not(any(target_os = "macos", target_os = "freebsd")))]
|
||||
// FixME: fails for "MacOS", "freebsd" and "openbsd" "failed to lookup address information: Name does not resolve"
|
||||
#[cfg(not(any(target_os = "macos", target_os = "freebsd", target_os = "openbsd")))]
|
||||
#[test]
|
||||
fn test_hostname_ip() {
|
||||
let result = new_ucmd!().arg("-i").succeeds();
|
||||
|
||||
Reference in New Issue
Block a user