summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-28 23:34:25 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-28 23:34:25 +0000
commit9683c4cdf783b4b4bed3ba0b2dda76ab29ab9253 (patch)
tree518f6aac56f959bef6ed03f5667e58bdc46e91f4 /app-arch/tar
parentadding pyste local use flag for boost (diff)
downloadgentoo-2-9683c4cdf783b4b4bed3ba0b2dda76ab29ab9253.tar.gz
gentoo-2-9683c4cdf783b4b4bed3ba0b2dda76ab29ab9253.tar.bz2
gentoo-2-9683c4cdf783b4b4bed3ba0b2dda76ab29ab9253.zip
update tests too to match new behavior #90742
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'app-arch/tar')
-rw-r--r--app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch b/app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch
index 156067256ace..9277aa55581b 100644
--- a/app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch
+++ b/app-arch/tar/files/tar-1.15.1-dont-abort-long-names.patch
@@ -5,6 +5,9 @@ reporting and tracking this down !
http://lists.gnu.org/archive/html/bug-tar/2005-04/msg00012.html
http://bugs.gentoo.org/show_bug.cgi?id=87540
+Benno Schulenberg says to update tests too:
+http://bugs.gentoo.org/show_bug.cgi?id=90742
+
Index: src/buffer.c
===================================================================
RCS file: /cvsroot/tar/tar/src/buffer.c,v
@@ -24,3 +27,24 @@ diff -u -r1.81 -r1.82
quotearg_colon (real_s_name)));
memset (record_start, 0, BLOCKSIZE);
+--- tests/multiv03.at
++++ tests/multiv03.at
+@@ -33,8 +33,7 @@
+ BFILE=`awk 'BEGIN { for (i = 0; i < 101; i++) printf "b"; exit; }'`
+
+ cat > ../experr <<EOF
+-tar: $BFILE: file name too long to be stored in a GNU multivolume header
+-tar: Error is not recoverable: exiting now
++tar: $BFILE: file name too long to be stored in a GNU multivolume header, truncated
+ EOF
+
+ cat > ../expout <<EOF
+@@ -52,7 +51,7 @@
+ genfile --length 15360 > $BFILE
+ tar -M -L 10 -c -f arch.1 -f arch.2 $BFILE
+ ],
+-[2],
++[0],
+ [expout],
+ [experr],
+ [],[],[gnu, oldgnu])