diff options
Diffstat (limited to 'tests/help-version')
-rwxr-xr-x | tests/help-version | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/help-version b/tests/help-version index 2ed9312f0..a16ec0176 100755 --- a/tests/help-version +++ b/tests/help-version @@ -22,13 +22,11 @@ test "$VERBOSE" = yes && set -x -# Ensure that $SHELL is set to *some* value. +# Ensure that $SHELL is set to *some* value and exported. # This is required for dircolors, which would fail e.g., when # invoked via debuild (which removes SHELL from the environment). -if test "x$SHELL" = x; then - SHELL=/bin/sh - export SHELL -fi +test "x$SHELL" = x && SHELL=/bin/sh +export SHELL expected_failure_status_nohup=127 expected_failure_status_printenv=2 |