From: markus schnalke Date: Tue, 27 Oct 2015 06:43:58 +0000 (+0100) Subject: Ensure $SHELL is set for the tests X-Git-Tag: mmh-0.2~23 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=063706a481ecba111064eedce97856e5eac9dca6;p=mmh Ensure $SHELL is set for the tests Non-interactive shells might not set it (this is true for dash and mksh, at least). Currently we use $SHELL in whatnow(1). Although we likely remove this use, it's rather worthwhile to have $SHELL available in the test scripts. --- diff --git a/test/runtest b/test/runtest index 498db05..9f35ade 100755 --- a/test/runtest +++ b/test/runtest @@ -51,6 +51,7 @@ folder +inbox >/dev/null # now run the test set +e +export SHELL="${SHELL:-/bin/sh}" /bin/sh "$1" return_value=$? set -e