]> Dogcows Code - chaz/tar/commitdiff
Rearranged leading comments. Added explicit references to original report messages...
authorSergey Poznyakoff <gray@gnu.org.ua>
Mon, 9 Aug 2004 11:25:15 +0000 (11:25 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Mon, 9 Aug 2004 11:25:15 +0000 (11:25 +0000)
25 files changed:
tests/append.sh
tests/delete01.sh
tests/delete02.sh
tests/delete03.sh
tests/delete04.sh
tests/extrac01.sh
tests/extrac02.sh
tests/extrac03.sh
tests/extrac04.sh
tests/gzip.sh
tests/ignfail.sh
tests/incremen.sh
tests/link01.sh
tests/listed01.sh
tests/longv7.sh
tests/multiv01.sh
tests/multiv02.sh
tests/old.sh
tests/options.sh
tests/recurse.sh
tests/same-order01.sh
tests/same-order02.sh
tests/sparse01.sh
tests/version.sh
tests/volume.sh

index ecc805f213095967a506b299d346b0d079218f99..d3adcca04644a58032e7dac046100f0ddce90b4c 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Append was just not working.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Problem: Append was just not working.
+
 . ./preset
 . $srcdir/before
 
index 2149c6364b45f3c17605cc587b7f16e35169c6f2..e620d90e479ee71ecc6dda1e10af22f3dac75783 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Deleting a member after a big one was destroying the archive.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Deleting a member after a big one was destroying the archive.
+
 . ./preset
 . $srcdir/before
 
index 60f20edc5bd4b3e06e9d9242f3f43080a41ee6dc..2a1df389b440bcde45ea2d4f017bb5626ad5d5f4 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Deleting a member with the archive from stdin was not working correctly.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Deleting a member with the archive from stdin was not working correctly.
+
 . ./preset
 . $srcdir/before
 
index 0683b719dab0ae09eb91cd50eb99bcaacb1c21a9..cf988e6a9965a33072b0e489713408e68a934ba2 100755 (executable)
@@ -1,6 +1,4 @@
 #! /bin/sh
-# Deleting members with long file names.
-
 # Copyright (C) 2001 Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or modify
index 005466ea4d39314c4a7608a22d93a6b1067319f6..47090a67b0a6e5da06f2a79c9691a327c17841f3 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Deleting a large last member was destroying earlier members.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Deleting a large last member was destroying earlier members.
+
 . ./preset
 . $srcdir/before
 
index dd3be0951bc3473f10d632eaf4b5e333e1de7d02..f16e92225f085153c480a779028fcfdd16e30a37 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# There was a diagnostic when directory already exists.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# There was a diagnostic when directory already exists.
+
 . ./preset
 . $srcdir/before
 
index 5c0b69ef7d879db18dfd461330737a6ed858c173..083abea4776b2b21bac3773921ce16189bfe66e5 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Could not extract symlinks over an existing file.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Could not extract symlinks over an existing file.
+
 . ./preset
 . $srcdir/before
 
index e223094155ced68650a4573ad174fe473bfce4fc..94ae69e849cebb7b130140b28778fad933105b0b 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Paths going up and down were inducing extraction loops.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Paths going up and down were inducing extraction loops.
+
 . ./preset
 . $srcdir/before
 
index ea1fe7579a8cc03d70f9ab2760ae35c226b87e24..4b588b3f9bf841eae8b46c5c7ba11adde126c00b 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Check for fnmatch problems in glibc 2.1.95.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Check for fnmatch problems in glibc 2.1.95.
+
 . ./preset
 . $srcdir/before
 
index 68ce48d36e15ca193bc7abbd643eb0be7e4a975b..06ee173b97ea9c07b14f5da84b6fe9948a81941f 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# tar should detect that its gzip child failed.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# tar should detect that its gzip child failed.
+
 . ./preset
 TAR_ARCHIVE_FORMATS=auto
 . $srcdir/before
index 17b4f9bb029b113388210cae38976515b50491cd..ec0fb104584982a95017d86bee10577c8d6857fc 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Unreadable directories yielded error despite --ignore-failed-read.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Unreadable directories yielded error despite --ignore-failed-read.
+
 . ./preset
 . $srcdir/before
 
index 7e05da66592b9f77d14012985632a33772ed33ca..efb0edb572fbc0efa1af7027c992c9c6ea10fb18 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# A directory older than the listed entry was skipped completely.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# A directory older than the listed entry was skipped completely.
+
 . ./preset
 TAR_ARCHIVE_FORMATS="gnu oldgnu"
 . $srcdir/before
index 06aa74bb66ae5f5b22d2d226fd54d1f09e55ffb1..f88d4dda6a22f935c908d4f64b12fc1018b2a107 100755 (executable)
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
-# If a member with link count > 2 was stored in the archive twice,
+# Problem: If a member with link count > 2 was stored in the archive twice,
 # previous versions of tar were not able to extract it, since they
 # were trying to link the file to itself, which always failed and
 # lead to removing the already extracted copy. This script tests
 # the workaround by Paul Eggert that leaves the extracted copy
 # untouched.
-
-# The script is based on the report by Toby Peterson <toby@apple.com>
+#
+# Reported by: Toby Peterson <toby@apple.com>
+#
+# References: <2330D503-D20A-11D8-A0CF-00039391EECE@apple.com>
+# http://lists.gnu.org/archive/html/bug-tar/2004-07/msg00009.html
 
 . ./preset
 . $srcdir/before
@@ -48,4 +51,4 @@ out="test.txt
 
 . $srcdir/after
 
-# End of link01.sh
\ No newline at end of file
+# End of link01.sh
index df018987d53c4d8c39db39bcb6adddc2d246b76a..029369e1bd83ac607e811d2f01d189e415f731c4 100755 (executable)
@@ -1,8 +1,4 @@
 #! /bin/sh
-
-# Check if listed-incremental backups work for individual files.
-# Script proposed by Andreas Schuldei <andreas@schuldei.org>
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Check if listed-incremental backups work for individual files.
+# Script proposed by Andreas Schuldei <andreas@schuldei.org>
+# References: <20040215014223.GA9699@lukas.schuldei.com>
+# http://lists.gnu.org/archive/html/bug-tar/2004-02/msg00011.html
+
 . ./preset
 TAR_ARCHIVE_FORMATS="gnu oldgnu" 
 . $srcdir/before
index 28fe6aa3a05d2f2a5525cfb8110bba02d7a509a2..6f0bb686277c384851b69f4b28470846d6615955 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-# Old format (V7) archives should not accept file names longer than
-# 99 characters
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,9 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Old format (V7) archives should not accept file names longer than
+# 99 characters
+
 . ./preset
 TAR_ARCHIVE_FORMATS="v7" 
 . $srcdir/before
index 8b297285382dca545fbb58369c1abddfc8cf5159..58678e9717f2fb363ec1c1e1f8c92b233557e057 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Test multivolume dumps from pipes.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Test multivolume dumps from pipes.
+
 . ./preset
 TAR_ARCHIVE_FORMATS="gnu oldgnu"
 . $srcdir/before
index 324b0669999b4485ea348586ccc2b169a1a9f69b..2b21b45552a7d6c3210c8a4de08acb86f83f7ac7 100755 (executable)
@@ -1,9 +1,4 @@
 #! /bin/sh
-
-# Previous versions of tar were not able to skip a member straddling
-# the multivolume archive boundary. Reported by Mads Martin Joergensen
-# <mmj@suse.de>
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Previous versions of tar were not able to skip a member straddling
+# the multivolume archive boundary. Reported by Mads Martin Joergensen
+# <mmj@suse.de>
+# 
+# References: <20040402144254.GC4409@suse.de> 
+# http://lists.gnu.org/archive/html/bug-tar/2004-04/msg00002.html
+
 . ./preset
 TAR_ARCHIVE_FORMATS="gnu oldgnu"
 . $srcdir/before
@@ -40,4 +42,4 @@ separator
 en
 "
 
-. $srcdir/after
\ No newline at end of file
+. $srcdir/after
index f4888478b4c98df20feccb823d7cbc57c6b0d8c2..2ce64a6cb7199905f26ae1d38ced3d1392d6a6dd 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# An old archive was not receiving directories.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# An old archive was not receiving directories.
+
 . ./preset
 TAR_ARCHIVE_FORMATS=auto
 . $srcdir/before
index 15f9216d2c35619c8bb448022b4dc47c5fb013c6..20c36294a49fbf2a1268bb5e6800a9a1c3a4b9c4 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Ensure that TAR_OPTIONS works in conjunction with old-style options.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Ensure that TAR_OPTIONS works in conjunction with old-style options.
+
 . ./preset
 TAR_ARCHIVE_FORMATS=auto
 . $srcdir/before
index 9a450a4bf0169853bb50f5df123441163682d0b0..79404d64912bb03a4dd4a3b923baa7740fa2257e 100755 (executable)
@@ -1,5 +1,4 @@
 #! /bin/sh
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
index 8b8680b6f477910fccccafbd8c9beab47bafdfa2..a4dbe5c0627bf015a437e23dd19b94d84bd75b60 100755 (executable)
@@ -1,8 +1,4 @@
 #! /bin/sh
-
-# -C dir did not work with --same-order
-# Bug reported by Karl-Michael Schneider <schneide@phil.uni-passau.de>
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Problem: -C dir did not work with --same-order
+# Reported by: Karl-Michael Schneider <schneide@phil.uni-passau.de>
+# References: <20040507122613.GB12457@pike.phil.uni-passau.de>
+# http://lists.gnu.org/archive/html/bug-tar/2004-05/msg00008.html
+
 . ./preset
 . $srcdir/before
 
index 80770c5b100732d78fcd225d86ef8536d63df66b..c5cac7b13795e1b4f3899c4f3035edfa492ba0d7 100755 (executable)
@@ -1,9 +1,4 @@
 #! /bin/sh
-
-# In previous versions a single -C option did not work with --same-order
-# (see same-order01.sh). However, multiple -C options worked OK. 
-# Test if we did not break the correct behavior.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# In previous versions a single -C option did not work with --same-order
+# (see same-order01.sh). However, multiple -C options worked OK. 
+# Test if we did not break the correct behavior.
+
 . ./preset
 . $srcdir/before
 
index 05f7cc6b764d44daee0c86fe713813c2a318d8e0..f49eaa787a783fd226f20c2bacbb82defdb774ef 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Check sparse file handling.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Check sparse file handling.
+
 . ./preset
 TAR_ARCHIVE_FORMATS="gnu oldgnu posix"
 . $srcdir/before
index c9c8674d32df343f4d2bdaca98885a76642de0e5..f24c94343f9d58ee71b560d586e24b884daa9cc4 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Check if the proper version is being tested.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Check if the proper version is being tested.
+
 . ./preset
 
 if test -n "`$PACKAGE --version | sed -n s/$PACKAGE.*$VERSION/OK/p`"; then
index caa0dc9c78df2ea384f703bc29d03ef2dcbe6a23..3b179404772826c63f934e4269c20a459f54fc3c 100755 (executable)
@@ -1,7 +1,4 @@
 #! /bin/sh
-
-# Volume labels are checked on read by fnmatch.
-
 # This file is part of GNU tar testsuite.
 # Copyright (C) 2004 Free Software Foundation, Inc.
 #
@@ -20,6 +17,8 @@
 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 # 02111-1307, USA.
 
+# Volume labels are checked on read by fnmatch.
+
 . ./preset
 TAR_ARCHIVE_FORMATS="gnu oldgnu"
 . $srcdir/before
This page took 0.04564 seconds and 4 git commands to generate.