diff options
Diffstat (limited to 'tests/date/date-tests')
-rwxr-xr-x | tests/date/date-tests | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/date/date-tests b/tests/date/date-tests index aed6e9bd9..2fda5e125 100755 --- a/tests/date/date-tests +++ b/tests/date/date-tests @@ -1044,19 +1044,19 @@ else esac fi test -s datevtime-1.E || rm -f datevtime-1.E -LC_ALL=de_DE $xx -R -d '1997-01-19 08:17:48 +0' > rfc822-1.O 2> rfc822-1.E +LC_ALL=de_DE TZ=UTC $xx -R -d '1997-01-19 08:17:48 +0' > rfc822-1.O 2> rfc822-1.E code=$? if test $code != 0; then - $echo "Test rfc822-1(LC_ALL=de_DE) failed: ../../src/date return code $code differs from expected value 0" 1>&2 + $echo "Test rfc822-1(LC_ALL=de_DE TZ=UTC) failed: ../../src/date return code $code differs from expected value 0" 1>&2 errors=`expr $errors + 1` else cmp rfc822-1.O $srcdir/rfc822-1.X > /dev/null 2>&1 case $? in - 0) if test "$VERBOSE"; then $echo "passed rfc822-1(LC_ALL=de_DE)"; fi;; - 1) $echo "Test rfc822-1(LC_ALL=de_DE) failed: files rfc822-1.O and $srcdir/rfc822-1.X differ" 1>&2 + 0) if test "$VERBOSE"; then $echo "passed rfc822-1(LC_ALL=de_DE TZ=UTC)"; fi;; + 1) $echo "Test rfc822-1(LC_ALL=de_DE TZ=UTC) failed: files rfc822-1.O and $srcdir/rfc822-1.X differ" 1>&2 (diff -c rfc822-1.O $srcdir/rfc822-1.X) 2> /dev/null errors=`expr $errors + 1`;; - 2) $echo "Test rfc822-1(LC_ALL=de_DE) may have failed." 1>&2 + 2) $echo "Test rfc822-1(LC_ALL=de_DE TZ=UTC) may have failed." 1>&2 $echo The command "cmp rfc822-1.O $srcdir/rfc822-1.X" failed. 1>&2 errors=`expr $errors + 1`;; esac |