Skip to content

Commit e9ef086

Browse files
committed
hostname: enable test test_hostname_ip on OpenBSD
Signed-off-by: Laurent Cheylus <[email protected]>
1 parent d432131 commit e9ef086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/by-util/test_hostname.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ fn test_hostname() {
1414
assert!(ls_default_res.stdout().len() >= ls_domain_res.stdout().len());
1515
}
1616

17-
// FixME: fails for "MacOS" and "OpenBSD" => "failed to lookup address information"
18-
#[cfg(not(any(target_os = "macos", target_os = "openbsd")))]
17+
// FixME: fails for "MacOS" => "failed to lookup address information"
18+
#[cfg(not(any(target_os = "macos")))]
1919
#[test]
2020
fn test_hostname_ip() {
2121
let result = new_ucmd!().arg("-i").succeeds();

0 commit comments

Comments
 (0)