aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2016-03-17 15:52:47 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2016-03-21 12:28:17 +0000
commit610db442f941143ab8ed0bc3248abf0a1fefb9c8 (patch)
treeebd162e9fe27219ae3f449033c4f98022f52fc6a
parent524b3a86790772978e2c59423f349b81e9306e72 (diff)
Check that only one of the paranoia cases is being employed
Change-Id: I8fdc9a268ef260e8016be806a69afc8689295063
-rwxr-xr-xscripts/Benchmark.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/Benchmark.sh b/scripts/Benchmark.sh
index 09114e89..7f781ab7 100755
--- a/scripts/Benchmark.sh
+++ b/scripts/Benchmark.sh
@@ -126,6 +126,9 @@ function validate {
elif test -z "${DOWNLOAD_HOST:-}"; then
echo "DOWNLOAD_KEY is set, but DOWNLOAD_HOST is unset. Must set both or neither." >&2
ret=1
+ elif test -n "${DOWNLOAD_PASSWORD:-}"; then
+ echo "Cannot set DOWNLOAD_PASSWORD alongside either of DOWNLOAD_HOST and DOWNLOAD_KEY." >&2
+ ret=1
fi
fi