]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(rfc822-1): Compensate for Solaris 5.9's /bin/sh,
authorJim Meyering <jim@meyering.net>
Fri, 16 Sep 2005 18:07:46 +0000 (18:07 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Sep 2005 18:07:46 +0000 (18:07 +0000)
which emits a diagnostic to stderr when this test's LC_ALL=de_DE
cannot be honored.

tests/misc/date

index a687b8addf5453bd5dde79fabdb746bda29bc6aa..76a7ef09b468664f8db43d2f236fde1d0e38f317 100755 (executable)
@@ -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