about summary refs log tree commit diff
path: root/src/libstd/io/test.rs
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-12-26 18:28:24 -0800
committerAlex Crichton <alex@alexcrichton.com>2013-12-27 17:41:04 -0800
commit1763f36c9d47550838793e129f2297ecfc8bebd1 (patch)
tree67036da1dac631ab73b437c96d276c35d3949717 /src/libstd/io/test.rs
parent00d87e0d8198ffb268251b5af2eb2ce19249c7f8 (diff)
downloadrust-1763f36c9d47550838793e129f2297ecfc8bebd1.tar.gz
rust-1763f36c9d47550838793e129f2297ecfc8bebd1.zip
Bring native process bindings up to date
Move the tests into libstd, use the `iotest!` macro to test both native and uv
bindings, and use the cloexec trick to figure out when the child process fails
in exec.
Diffstat (limited to 'src/libstd/io/test.rs')
-rw-r--r--src/libstd/io/test.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libstd/io/test.rs b/src/libstd/io/test.rs
index 4be11227965..c189bd47b06 100644
--- a/src/libstd/io/test.rs
+++ b/src/libstd/io/test.rs
@@ -33,6 +33,7 @@ macro_rules! iotest (
             use io::net::udp::*;
             #[cfg(unix)]
             use io::net::unix::*;
+            use io::process::*;
             use str;
             use util;