diff options
| author | Sébastien Marie <semarie@users.noreply.github.com> | 2015-02-15 12:06:21 +0100 |
|---|---|---|
| committer | Sébastien Marie <semarie@users.noreply.github.com> | 2015-02-15 12:27:37 +0100 |
| commit | eb8e1137f536edafa294f5e2e251cb9413d2b8e3 (patch) | |
| tree | b8feafee68f454e8e7f675ab0d793f3eac496928 /src/libstd | |
| parent | b63cee4a11fcfecf20ed8419bc3bd6859e6496bc (diff) | |
| download | rust-eb8e1137f536edafa294f5e2e251cb9413d2b8e3.tar.gz rust-eb8e1137f536edafa294f5e2e251cb9413d2b8e3.zip | |
openbsd: disable test_file_desc test
pipe(2), under FreeBSD and OpenBSD return a bidirectionnal pipe. So reading from the writer would block (waiting data) instead of returning an error.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/sys/unix/fs.rs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libstd/sys/unix/fs.rs b/src/libstd/sys/unix/fs.rs index 66ae018cb36..0ee2b5b6809 100644 --- a/src/libstd/sys/unix/fs.rs +++ b/src/libstd/sys/unix/fs.rs @@ -364,7 +364,10 @@ mod tests { use os; use prelude::v1::*; - #[cfg_attr(target_os = "freebsd", ignore)] // hmm, maybe pipes have a tiny buffer + #[cfg_attr(any(target_os = "freebsd", + target_os = "openbsd"), + ignore)] + // under some system, pipe(2) will return a bidrectionnal pipe #[test] fn test_file_desc() { // Run this test with some pipes so we don't have to mess around with |
