[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
possible patch for coreutils 5.1.1 failure on OSF 3.2C
From: |
Paul Eggert |
Subject: |
possible patch for coreutils 5.1.1 failure on OSF 3.2C |
Date: |
19 Jan 2004 11:04:49 -0800 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Christian Krackowizer <address@hidden> writes:
> OSF 3.2C fails:
>
> out exp differ: char 13, line 1
> 1c1
> < 2004-01-16T05:56:38
> ---
> > 2004-01-16T04:56:38
> FAIL: relative
Most likely this is due to a bug in the new test script, as it uses a
nonportable TZ setting. I also noticed it uses a time zone indication
that isn't documented as being supported. Here's an untested patch.
2004-01-19 Paul Eggert <address@hidden>
* tests/touch/relative: Use TZ=UTC0, not TZ=utc (which isn't
portable). Problem reported by Christian Krackowizer. Also, use
+0000 rather than +0 to specify a time zone, as the documentation
requires four digits.
Index: relative
===================================================================
RCS file: /home/meyering/coreutils/cu/tests/touch/relative,v
retrieving revision 1.1
diff -p -u -r1.1 relative
--- relative 16 Jan 2004 14:46:37 -0000 1.1
+++ relative 19 Jan 2004 18:57:23 -0000
@@ -17,7 +17,7 @@ trap '(exit $?); exit $?' 1 2 13 15
framework_failure=0
mkdir -p $tmp || framework_failure=1
cd $tmp || framework_failure=1
-touch --date='2004-01-16 05:26:38 +0' f || framework_failure=1
+touch --date='2004-01-16 05:26:38 +0000' f || framework_failure=1
if test $framework_failure = 1; then
echo "$0: failure in testing framework" 1>&2
@@ -29,7 +29,7 @@ fail=0
# Set times back by 30 minutes.
touch --ref f --date='-30 min' f || fail=1
-TZ=utc command ls -og --time-style=+%Y-%m-%dT%H:%M:%S f > out.1 || fail
+TZ=UTC0 command ls -og --time-style=+%Y-%m-%dT%H:%M:%S f > out.1 || fail
sed 's/ f$//;s/.* //' out.1 > out
rm -f out.1
- coreutils-5.1.1 released, Jim Meyering, 2004/01/18
- Re: [Coreutils-announce] coreutils-5.1.1 released, Christian Krackowizer, 2004/01/19
- possible patch for coreutils 5.1.1 failure on OSF 3.2C,
Paul Eggert <=
- Re: possible patch for coreutils 5.1.1 failure on OSF 3.2C, Jim Meyering, 2004/01/20
- Re: possible patch for coreutils 5.1.1 failure on OSF 3.2C, Paul Jarc, 2004/01/21
- Re: possible patch for coreutils 5.1.1 failure on OSF 3.2C, Paul Eggert, 2004/01/21
- Re: possible patch for coreutils 5.1.1 failure on OSF 3.2C, Paul Jarc, 2004/01/21
- Re: possible patch for coreutils 5.1.1 failure on OSF 3.2C, Paul Eggert, 2004/01/21
- Re: possible patch for coreutils 5.1.1 failure on OSF 3.2C, Jim Meyering, 2004/01/21