projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8843fe
)
Ensure $SHELL is set for the tests
author
markus schnalke
<meillo@marmaro.de>
Tue, 27 Oct 2015 06:43:58 +0000
(07:43 +0100)
committer
markus schnalke
<meillo@marmaro.de>
Tue, 27 Oct 2015 06:43:58 +0000
(07:43 +0100)
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
patch
|
blob
|
history
diff --git
a/test/runtest
b/test/runtest
index
498db05
..
9f35ade
100755
(executable)
--- 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