summary refs log tree commit diff
path: root/gnu/packages/patches/cpio-fix-symlink-bad-length-test.patch
blob: 58a5a478c9ff04689bbadfcf7efccb909669ebf3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
From bebf9662c406d1d137a66c567d8748b489d352e7 Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup@redhat.com>
Date: Thu, 4 Jun 2015 13:27:42 +0200
Subject: [PATCH] tests: fix expected output for old file

Thanks Victor Rodriguez.  Upstream thread:
http://lists.gnu.org/archive/html/bug-cpio/2015-06/msg00000.html

* tests/symlink-bad-length.at (STDOUT): Expect the year string
'2014' is printed and not time because the file in archive is
older than 6 months.
* Thanks: Mention Victor.
---
 THANKS                      | 1 +
 tests/symlink-bad-length.at | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/THANKS b/THANKS
index 45b0dfb..3228df9 100644
--- a/THANKS
+++ b/THANKS
@@ -23,6 +23,7 @@ Mitsuru Chinen		<mchinen@yamato.ibm.com>
 Peter Breitenlohner     <peb@mppmu.mpg.de>
 Peter Vrabec            <pvrabec@redhat.com>
 Robert Millan           <rmh@aybabtu.com>
+Victor Rodriguez        <vm.rod25@gmail.com>
 
 Local Variables:
 mode: Fundamental
diff --git a/tests/symlink-bad-length.at b/tests/symlink-bad-length.at
index e1a7093..2cdc692 100644
--- a/tests/symlink-bad-length.at
+++ b/tests/symlink-bad-length.at
@@ -57,7 +57,7 @@ cat stderr | grep -v \
 echo >&2 STDERR
 ],
 [0],
-[-rw-rw-r--   1 10029    10031          13 Nov 25 11:52 FILE
+[-rw-rw-r--   1 10029    10031          13 Nov 25  2014 FILE
 ],[STDERR
 ])
 
-- 
2.1.0