mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
tests: disable failed tests for stat on OpenBSD
Signed-off-by: Laurent Cheylus <foxy@free.fr>
This commit is contained in:
parent
26da94687f
commit
6bce1626b3
1 changed files with 11 additions and 2 deletions
|
@ -134,6 +134,7 @@ fn test_normal_format() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
|
#[cfg(not(target_os = "openbsd"))]
|
||||||
#[test]
|
#[test]
|
||||||
fn test_symlinks() {
|
fn test_symlinks() {
|
||||||
let ts = TestScenario::new(util_name!());
|
let ts = TestScenario::new(util_name!());
|
||||||
|
@ -263,7 +264,10 @@ fn test_pipe_fifo() {
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(all(unix, not(any(target_os = "android", target_os = "freebsd"))))]
|
#[cfg(all(
|
||||||
|
unix,
|
||||||
|
not(any(target_os = "android", target_os = "freebsd", target_os = "openbsd"))
|
||||||
|
))]
|
||||||
fn test_stdin_pipe_fifo1() {
|
fn test_stdin_pipe_fifo1() {
|
||||||
// $ echo | stat -
|
// $ echo | stat -
|
||||||
// File: -
|
// File: -
|
||||||
|
@ -318,7 +322,12 @@ fn test_stdin_with_fs_option() {
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(all(
|
#[cfg(all(
|
||||||
unix,
|
unix,
|
||||||
not(any(target_os = "android", target_os = "macos", target_os = "freebsd"))
|
not(any(
|
||||||
|
target_os = "android",
|
||||||
|
target_os = "macos",
|
||||||
|
target_os = "freebsd",
|
||||||
|
target_os = "openbsd"
|
||||||
|
))
|
||||||
))]
|
))]
|
||||||
fn test_stdin_redirect() {
|
fn test_stdin_redirect() {
|
||||||
// $ touch f && stat - < f
|
// $ touch f && stat - < f
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue