1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 11:37:44 +00:00

Merge pull request #7611 from drinkcat/stat-disable-macosx

test_stat: Disable test_stdin_pipe_fifo1/2 on Mac OS X
This commit is contained in:
Daniel Hofstetter 2025-04-01 09:42:01 +02:00 committed by GitHub
commit 1fe764230f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -331,10 +331,16 @@ fn test_pipe_fifo() {
.stdout_contains("File: FIFO"); .stdout_contains("File: FIFO");
} }
// TODO(#7583): Re-enable on Mac OS X (and possibly other Unix platforms)
#[test] #[test]
#[cfg(all( #[cfg(all(
unix, unix,
not(any(target_os = "android", target_os = "freebsd", target_os = "openbsd")) not(any(
target_os = "android",
target_os = "freebsd",
target_os = "openbsd",
target_os = "macos"
))
))] ))]
fn test_stdin_pipe_fifo1() { fn test_stdin_pipe_fifo1() {
// $ echo | stat - // $ echo | stat -
@ -356,8 +362,9 @@ fn test_stdin_pipe_fifo1() {
.stdout_contains("File: -"); .stdout_contains("File: -");
} }
// TODO(#7583): Re-enable on Mac OS X (and maybe Android)
#[test] #[test]
#[cfg(all(unix, not(target_os = "android")))] #[cfg(all(unix, not(any(target_os = "android", target_os = "macos"))))]
fn test_stdin_pipe_fifo2() { fn test_stdin_pipe_fifo2() {
// $ stat - // $ stat -
// File: - // File: -