diff --git a/src/libstd/io/fs.rs b/src/libstd/io/fs.rs index 58c0caa3402..ffccb0e8cb1 100644 --- a/src/libstd/io/fs.rs +++ b/src/libstd/io/fs.rs @@ -1106,9 +1106,8 @@ pub fn tmpdir() -> TempDir { file.fsync().unwrap(); file.datasync().unwrap(); drop(file); - }) + } #[ignore(cfg(windows))]) - #[ignore(cfg(windows))] // FIXME(#11638) iotest!(fn truncate_works() { let tmpdir = tmpdir(); let path = tmpdir.join("in.txt"); @@ -1138,7 +1137,7 @@ pub fn tmpdir() -> TempDir { assert_eq!(File::open(&path).read_to_end().unwrap(), (bytes!("fo", 0, 0, 0, 0, "wut")).to_owned()); drop(file); - }) + } #[ignore(cfg(windows))]) // FIXME(#11638) iotest!(fn open_flavors() { let tmpdir = tmpdir(); diff --git a/src/libstd/io/net/unix.rs b/src/libstd/io/net/unix.rs index a1f3cbbe326..c3e3d72c672 100644 --- a/src/libstd/io/net/unix.rs +++ b/src/libstd/io/net/unix.rs @@ -192,7 +192,7 @@ pub fn smalltest(server: proc(UnixStream), client: proc(UnixStream)) { }, proc(_client) { // drop the client }) - }) + } #[ignore(cfg(windows))]) // FIXME(#12516) iotest!(fn write_begone() { smalltest(proc(mut server) { diff --git a/src/libstd/io/process.rs b/src/libstd/io/process.rs index b3365726465..b8eaf3bc648 100644 --- a/src/libstd/io/process.rs +++ b/src/libstd/io/process.rs @@ -823,11 +823,10 @@ pub fn sleeper() -> Process { assert!(!p.wait().success()); }) - #[ignore(cfg(windows))] iotest!(fn test_exists() { let mut p = sleeper(); assert!(Process::kill(p.id(), 0).is_ok()); p.signal_kill().unwrap(); assert!(!p.wait().success()); - }) + } #[ignore(cfg(windows))]) // FIXME(#12516) }