summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e8843fe)
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.
# now run the test
set +e
# now run the test
set +e
+export SHELL="${SHELL:-/bin/sh}"
/bin/sh "$1"
return_value=$?
set -e
/bin/sh "$1"
return_value=$?
set -e