Jim Meyering wrote:
Sven Joachim <[EMAIL PROTECTED]> wrote:
Package: coreutils
Version: 5.94-1
Severity: normal
| ../../src/dircolors: no SHELL environment variable, and no shell type option
given
| FAIL: dircolors
| ./help-version: line 164: 20539 Terminated sleep 10m
| FAIL: help-version
Thanks for the report.
If you can reproduce the help-version failure, I'd appreciate more details,
e.g., run this:
env -u -- VERBOSE=yes DEBUG=yes make -C tests check TESTS=help-version SUBDIRS=
The reason why the help-version test failed on dircolors is that the SHELL
variable
was not set at all. This is probably rather unusual, since bash (and probably
other
shells as well) will set SHELL to the value of your login shell, if it is not
set.
But the "debuild" script removes most variables from the environment by default,
including SHELL. You can convince yourself that "dircolors" fails if SHELL is
unset:
$ SHELL="" dircolors
dircolors: no SHELL environment variable, and no shell type option given
$ echo $?
1
$
Maybe you want to set something like
dircolors_args=-b
in tests/help-version to avoid this? Although this would have the disadvantage
that plain "dircolors" without any argument would then not be tested.
The dircolors test failure was fixed upstream just two days ago:
2006-03-03 Jim Meyering <[EMAIL PROTECTED]>
Don't fail when run from an environment with SHELL not a Bourne
shell, e.g. `env SHELL=/bin/csh make check' would fail this test.
* tests/dircolors/simple: Invoke each non-failing test with -b.
Reported by Michael Stone.
Michael has already applied a different patch, setting
$ENV{'SHELL'} = '/bin/sh';
in tests/dircolors/simple, so this was not the cause of the problem.
Regards,
Sven
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]