Fix src/test/run-make/static-pie/test-aslr.rs
Might be subject to the birthday paradox occasionally, causing spurious failures. Addresses: https://github.com/rust-lang/rust/pull/70740#pullrequestreview-430981320
This commit is contained in:
parent
9d09331e00
commit
6b9b2d99ca
@ -29,7 +29,7 @@ fn main() {
|
||||
}
|
||||
Some(s) if s.eq("--test-aslr") => {
|
||||
let cnt = run_self(&arg0);
|
||||
if cnt != NUM_RUNS {
|
||||
if cnt == 1 {
|
||||
eprintln!("FAIL: {} most likely no ASLR", arg0);
|
||||
std::process::exit(1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user