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.
This commit is contained in:
parent
b63cee4a11
commit
eb8e1137f5
1 changed files with 4 additions and 1 deletions
|
@ -364,7 +364,10 @@ mod tests {
|
||||||
use os;
|
use os;
|
||||||
use prelude::v1::*;
|
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]
|
#[test]
|
||||||
fn test_file_desc() {
|
fn test_file_desc() {
|
||||||
// Run this test with some pipes so we don't have to mess around with
|
// Run this test with some pipes so we don't have to mess around with
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue