Add ulimit check to stable test suite
cargo test needs larger ulimit than default as well.
This commit is contained in:
parent
8cc751d1cc
commit
5c71f2a439
|
@ -12,6 +12,11 @@ _() {
|
|||
"$@"
|
||||
}
|
||||
|
||||
if [[ $(ulimit -n) -lt 65000 ]]; then
|
||||
echo 'Error: nofiles too small, run "ulimit -n 65000" to continue'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
_ cargo build --all --verbose
|
||||
_ cargo test --verbose --lib -- --nocapture
|
||||
|
||||
|
|
Loading…
Reference in New Issue