From 063706a481ecba111064eedce97856e5eac9dca6 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Tue, 27 Oct 2015 07:43:58 +0100 Subject: [PATCH] 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. --- test/runtest | 1 + 1 file changed, 1 insertion(+) 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 -- 1.7.10.4