mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
Avoid test failure when `make check' is run through debuild.
* tests/help-version: Ensure that $SHELL is set to some value and exported. Patch from Sven Joachim. For details, see <http://bugs.debian.org/355368>.
This commit is contained in:
1 parent
6a15128cef
commit
77c8f5b5c2
2 files changed
+8
-5
No files matched your search
@@ -1,5 +1,10 @@
|
||||
2006-08-19 Jim Meyering <jim@meyering.net>
|
||||
|
||||
Avoid test failure when `make check' is run through debuild.
|
||||
* tests/help-version: Ensure that $SHELL is set to some value
|
||||
and exported. Patch from Sven Joachim. For details, see
|
||||
<http://bugs.debian.org/355368>.
|
||||
|
||||
* tests/ls/stat-dtype: Test for the 2006-08-17 `ls -CF' fix.
|
||||
|
||||
* README: Describe potential "pre-C99 build failure", and work-around.
|
||||
|
||||
+3
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user