From 914aa4ee3153185b400e72d0107ce2c5ffbd307c Mon Sep 17 00:00:00 2001 From: phantinuss <79651203+phantinuss@users.noreply.github.com> Date: Wed, 14 Sep 2022 12:58:52 +0200 Subject: [PATCH] chore: add more checks --- tests/check-baseline-local.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tests/check-baseline-local.sh b/tests/check-baseline-local.sh index 4c3929b90..3c849f52d 100755 --- a/tests/check-baseline-local.sh +++ b/tests/check-baseline-local.sh @@ -12,6 +12,24 @@ if [[ -z $(command -v wget) ]]; then exit 1 fi +if [[ -z $(command -v xargs) ]]; then + >2& echo "xargs not found. Please install findutils." + >2& echo "Exiting" + exit 1 +fi + +if [[ -z $(command -v tar) ]]; then + >2& echo "tar not found. Please install." + >2& echo "Exiting" + exit 1 +fi + +if [[ -z $(command -v mktemp) ]]; then + >2& echo "mktemp not found. Please install coreutils." + >2& echo "Exiting" + exit 1 +fi + if [[ -z $(command -v realpath) ]]; then >2& echo "realpath not found. Please install coreutils." >2& echo "Exiting"