summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rwxr-xr-xtests/dircolors/simple2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1953799b2..2123879de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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"},