From 1d6853a7bc659cab26f6401a8950b78e6da46542 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 21 Aug 2006 17:28:09 +0000 Subject: [PATCH] * 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 . --- ChangeLog | 5 +++++ tests/dircolors/simple | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1953799b2..2123879de 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-08-21 Jim Meyering + * 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 . + * 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"}, -- 2.34.1