summaryrefslogtreecommitdiff
path: root/tests/misc/date
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-09-16 18:07:46 +0000
committerJim Meyering <jim@meyering.net>2005-09-16 18:07:46 +0000
commit105ae85e3810d3f3bd2fdf3ca2b5b1fd8964f53d (patch)
tree6c8c931527ea39e3488d8c83c2b8d4b46199816d /tests/misc/date
parent525faa8a7535ba86cab33405f97b6b2acbb13d67 (diff)
downloadcoreutils-105ae85e3810d3f3bd2fdf3ca2b5b1fd8964f53d.tar.xz
(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.
Diffstat (limited to 'tests/misc/date')
-rwxr-xr-xtests/misc/date3
1 files changed, 3 insertions, 0 deletions
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