mirror of
https://github.com/uutils/coreutils
synced 2024-07-23 19:04:18 +00: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:
parent
4442b35370
commit
2faab59aa4
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue