From: Jim Meyering Date: Fri, 16 Sep 2005 18:07:46 +0000 (+0000) Subject: (rfc822-1): Compensate for Solaris 5.9's /bin/sh, X-Git-Tag: v5.90~182 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=105ae85e3810d3f3bd2fdf3ca2b5b1fd8964f53d;p=thirdparty%2Fcoreutils.git (rfc822-1): Compensate for Solaris 5.9's /bin/sh, which emits a diagnostic to stderr when this test's LC_ALL=de_DE cannot be honored. --- diff --git a/tests/misc/date b/tests/misc/date index a687b8addf..76a7ef09b4 100755 --- a/tests/misc/date +++ b/tests/misc/date @@ -149,6 +149,9 @@ my @Tests = # test for RFC-822 conformance ['rfc822-1', "-R -d '$d1'", {OUT=>"Sun, 19 Jan 1997 08:17:48 +0000"}, + # Solaris 5.9's /bin/sh emits this diagnostic to stderr + # if you don't have support for the named locale. + {ERR_SUBST => q!s/^couldn't set locale correctly\n//!}, {ENV => 'LC_ALL=de_DE TZ=UTC0'}], # Relative seconds, with time. fixed in 2.0j