summaryrefslogtreecommitdiffstats
path: root/package/tar/tar-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/tar/tar-tests.patch')
-rw-r--r--package/tar/tar-tests.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/tar/tar-tests.patch b/package/tar/tar-tests.patch
new file mode 100644
index 000000000..2483e78d9
--- /dev/null
+++ b/package/tar/tar-tests.patch
@@ -0,0 +1,31 @@
+--- tar.broke/tests/listed02.sh 2004-10-11 00:39:45.443303624 +0200
++++ tar/tests/listed02.sh 2004-10-11 00:38:02.566943208 +0200
+@@ -69,7 +69,10 @@
+ echo Extracting main archive
+ tar -x -v --listed-incremental=tart.incr1 -f archive.1
+ echo Extracting incremental archive
+-tar -x -v --listed-incremental=tart.incr2 -f archive.2
++# This command should produce three messages about deletion
++# of the existing files, that may appear in any order. Piping
++# to sort makes sure we don't depend on any particular ordering.
++tar -x -v --listed-incremental=tart.incr2 -f archive.2 | sort
+
+ echo Final files:
+ find tart|sort
+@@ -120,13 +123,13 @@
+ tart/c1/ca1
+ tart/c1/ca2
+ Extracting incremental archive
+-tart/
+-tar: Deleting \`tart/c1'
+ tar: Deleting \`tart/a1'
+ tar: Deleting \`tart/b1'
++tar: Deleting \`tart/c1'
++tart/
++tart/b2
+ tart/c0/
+ tart/c2/
+-tart/b2
+ tart/c2/ca1
+ tart/c2/ca2
+ tart/c2/ca3