diff options
author | Jim Meyering <jim@meyering.net> | 2006-08-21 17:28:09 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-08-21 17:28:09 +0000 |
commit | 1d6853a7bc659cab26f6401a8950b78e6da46542 (patch) | |
tree | 88c8a4a6128276a424102483a76299d2bd4fb4f6 | |
parent | 76407d035cd952c2b93c0f95a714301ac4e1cdba (diff) | |
download | coreutils-1d6853a7bc659cab26f6401a8950b78e6da46542.tar.xz |
* tests/dircolors/simple (a): Don't fail with an unexpected diagnostic
when the shell variable, SHELL, is not set.
Trigger the failure with "(unset SHELL; make check TESTS=simple)".
Reported by Sven Joachim in <http://bugs.debian.org/355368>.
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | tests/dircolors/simple | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,5 +1,10 @@ 2006-08-21 Jim Meyering <jim@meyering.net> + * tests/dircolors/simple (a): Don't fail with an unexpected diagnostic + when the shell variable, SHELL, is not set. + Trigger the failure with "(unset SHELL; make check TESTS=simple)". + Reported by Sven Joachim in <http://bugs.debian.org/355368>. + * src/od.c: Now that HAVE_UNSIGNED_LONG_LONG is no longer defined in config.h, change the uses to HAVE_UNSIGNED_LONG_LONG_INT. Otherwise, on a system with 4-byte longs, "od -t u8" fails with this: diff --git a/tests/dircolors/simple b/tests/dircolors/simple index 71ccfd174..2e5f1101b 100755 --- a/tests/dircolors/simple +++ b/tests/dircolors/simple @@ -38,7 +38,7 @@ use strict; my @Tests = ( - ['a', {IN => {k => "exec\n"}}, + ['a', '-b', {IN => {k => "exec\n"}}, {ERR => "dircolors: k:1: invalid line; missing second token\n"}, {EXIT => 1}], ['quote', '-b', {IN => "exec 'echo Hello;:'\n"}, |