mdbx-test: adds check for prerequisites to long_stochastic.sh

Change-Id: I1c671ce46140a41c33c6cb69b2444dc98c754929
This commit is contained in:
Leonid Yuriev 2019-07-12 21:27:34 +03:00
parent eefbb7f063
commit ae34255350

View File

@ -1,4 +1,9 @@
#!/bin/bash
if ! which make cc c++ tee lz4 >/dev/null; then
echo "Please install the following prerequisites: make cc c++ tee lz4" >&2
exit -1
fi
set -euo pipefail
TESTDB_PREFIX=${1:-/dev/shm/mdbx-gc-test}.