vapier      17/03/13 03:12:27

  Modified:             README.history
  Added:                060_all_date.patch
  Log:
  add test fix from upstream for building w/newer timezone-data

Revision  Changes    Path
1.2                  src/patchsets/coreutils/8.27/README.history

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.27/README.history?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.27/README.history?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.27/README.history?r1=1.1&r2=1.2

Index: README.history
===================================================================
RCS file: /var/cvsroot/gentoo/src/patchsets/coreutils/8.27/README.history,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- README.history      9 Mar 2017 07:16:43 -0000       1.1
+++ README.history      13 Mar 2017 03:12:27 -0000      1.2
@@ -1,3 +1,6 @@
+1.1            12 Mar 2017
+       + 060_all_date.patch
+
 1.0            08 Mar 2017
        + 003_all_coreutils-gentoo-uname.patch
        + 010_all_coreutils-tests.patch



1.1                  src/patchsets/coreutils/8.27/060_all_date.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.27/060_all_date.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/coreutils/8.27/060_all_date.patch?rev=1.1&content-type=text/plain

Index: 060_all_date.patch
===================================================================
>From 612086660bab9bf981894da146550e9101224b17 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Thu, 9 Mar 2017 23:59:05 -0800
Subject: [PATCH] tests: port to tzdb-2017a

Problem reported by Bernhard Voelker in:
http://lists.gnu.org/archive/html/coreutils/2017-03/msg00026.html
* tests/misc/date-debug.sh: Port test to tzdb 2017a,
and future-proof the America/Belize test.
---
 tests/misc/date-debug.sh | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/tests/misc/date-debug.sh b/tests/misc/date-debug.sh
index 48f4605069f4..8e0b2afbb07e 100755
--- a/tests/misc/date-debug.sh
+++ b/tests/misc/date-debug.sh
@@ -52,10 +52,11 @@ date: output timezone: +09:00 (set from TZ="Asia/Tokyo" 
environment value)
 date: final: 661095000.000000000 (epoch-seconds)
 date: final: (Y-M-D) 1990-12-13 13:30:00 (UTC0)
 date: final: (Y-M-D) 1990-12-13 22:30:00 (output timezone TZ=+09:00)
-Thu Dec 13 07:30:00 CST 1990
+Thu Dec 13 07:30:00 -0600 1990
 EOF
 
-TZ=America/Belize date --debug -d "$in1" >out1 2>&1 || fail=1
+TZ=America/Belize date --debug -d "$in1" +'%a %b %e %T %z %Y' >out1 2>&1 ||
+  fail=1
 
 compare exp1 out1 || fail=1
 
@@ -94,10 +95,10 @@ date: output timezone: -05:00 (set from TZ="America/Lima" 
environment value)
 date: final: 1.000000000 (epoch-seconds)
 date: final: (Y-M-D) 1970-01-01 00:00:01 (UTC0)
 date: final: (Y-M-D) 1969-12-31 19:00:01 (output timezone TZ=-05:00)
-Wed Dec 31 19:00:01 PET 1969
+Wed Dec 31 19:00:01 -0500 1969
 EOF
 
-TZ=America/Lima date --debug -d "$in3" >out3 2>&1 || fail=1
+TZ=America/Lima date --debug -d "$in3" +'%a %b %e %T %z %Y' >out3 2>&1 || 
fail=1
 compare exp3 out3 || fail=1
 
 ##
-- 
2.12.0





Reply via email to