00e017f60e
Trying to get the tinderbox green again. Will pursue later.
22 lines
380 B
Rust
22 lines
380 B
Rust
// xfail-stage0
|
|
|
|
use std;
|
|
import std::run;
|
|
|
|
// Regression test for memory leaks
|
|
// FIXME (714) Why does this fail on win32?
|
|
|
|
#[cfg(target_os = "linux")]
|
|
#[cfg(target_os = "macos")]
|
|
fn test_leaks() {
|
|
run::run_program("echo", []);
|
|
run::start_program("echo", []);
|
|
run::program_output("echo", []);
|
|
}
|
|
|
|
#[cfg(target_os = "win32")]
|
|
fn test_leaks() {}
|
|
|
|
fn main() {
|
|
test_leaks();
|
|
} |