mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +00:00
hostname: enable test test_hostname_ip for FreeBSD and OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
parent
6e236a4a72
commit
4b3e039118
1 changed files with 2 additions and 2 deletions
|
@ -14,8 +14,8 @@ fn test_hostname() {
|
||||||
assert!(ls_default_res.stdout().len() >= ls_domain_res.stdout().len());
|
assert!(ls_default_res.stdout().len() >= ls_domain_res.stdout().len());
|
||||||
}
|
}
|
||||||
|
|
||||||
// FixME: fails for "MacOS", "freebsd" and "openbsd" "failed to lookup address information: Name does not resolve"
|
// FixME: fails for "MacOS" => "failed to lookup address information"
|
||||||
#[cfg(not(any(target_os = "macos", target_os = "freebsd", target_os = "openbsd")))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_hostname_ip() {
|
fn test_hostname_ip() {
|
||||||
let result = new_ucmd!().arg("-i").succeeds();
|
let result = new_ucmd!().arg("-i").succeeds();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue