From 105ae85e3810d3f3bd2fdf3ca2b5b1fd8964f53d Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 16 Sep 2005 18:07:46 +0000 Subject: (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. --- tests/misc/date | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/misc/date') diff --git a/tests/misc/date b/tests/misc/date index a687b8add..76a7ef09b 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 -- cgit v1.2.3-54-g00ecf