From ae34255350e605231e630252df369f26d0efffea Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Fri, 12 Jul 2019 21:27:34 +0300 Subject: [PATCH] mdbx-test: adds check for prerequisites to long_stochastic.sh Change-Id: I1c671ce46140a41c33c6cb69b2444dc98c754929 --- test/long_stochastic.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/long_stochastic.sh b/test/long_stochastic.sh index d7101fd5..026c9a41 100755 --- a/test/long_stochastic.sh +++ b/test/long_stochastic.sh @@ -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}.