From 66cc5df1c6a250ca5eccc57334929eec5647ea0d Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 7 May 2004 14:54:29 +0000 Subject: [PATCH] Added copyleft header --- tests/append.sh | 19 +++++++++++++++++++ tests/delete01.sh | 19 +++++++++++++++++++ tests/delete02.sh | 21 ++++++++++++++++++++- tests/delete04.sh | 19 +++++++++++++++++++ tests/extrac01.sh | 19 +++++++++++++++++++ tests/extrac02.sh | 19 +++++++++++++++++++ tests/extrac03.sh | 23 +++++++++++++++++++++-- tests/extrac04.sh | 19 +++++++++++++++++++ tests/gzip.sh | 19 +++++++++++++++++++ tests/ignfail.sh | 32 +++++++++++++++++++++++++++----- tests/incremen.sh | 19 +++++++++++++++++++ tests/multiv01.sh | 19 +++++++++++++++++++ tests/old.sh | 19 +++++++++++++++++++ tests/options.sh | 19 +++++++++++++++++++ tests/recurse.sh | 18 ++++++++++++++++++ tests/star/gtarfail.sh | 18 ++++++++++++++++++ tests/star/gtarfail2.sh | 18 ++++++++++++++++++ tests/star/multi-fail.sh | 18 ++++++++++++++++++ tests/star/pax-big-10g.sh | 18 ++++++++++++++++++ tests/star/qucktest.sh | 18 ++++++++++++++++++ tests/version.sh | 19 +++++++++++++++++++ tests/volume.sh | 19 +++++++++++++++++++ 22 files changed, 423 insertions(+), 8 deletions(-) diff --git a/tests/append.sh b/tests/append.sh index af90f04..ecc805f 100755 --- a/tests/append.sh +++ b/tests/append.sh @@ -1,6 +1,25 @@ #! /bin/sh + # Append was just not working. +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before diff --git a/tests/delete01.sh b/tests/delete01.sh index 9a5813f..2149c63 100755 --- a/tests/delete01.sh +++ b/tests/delete01.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before diff --git a/tests/delete02.sh b/tests/delete02.sh index c202cac..60f20ed 100755 --- a/tests/delete02.sh +++ b/tests/delete02.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before @@ -12,7 +31,7 @@ tar cf archive 1 2 3 tar tf archive cat archive | tar f - --delete 2 > archive2 echo ----- -tar tf archive +tar tf archive2 out="\ 1 diff --git a/tests/delete04.sh b/tests/delete04.sh index 4cdf030..005466e 100755 --- a/tests/delete04.sh +++ b/tests/delete04.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before diff --git a/tests/extrac01.sh b/tests/extrac01.sh index 9344cc4..dd3be09 100755 --- a/tests/extrac01.sh +++ b/tests/extrac01.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before diff --git a/tests/extrac02.sh b/tests/extrac02.sh index 7a3c131..5c0b69e 100755 --- a/tests/extrac02.sh +++ b/tests/extrac02.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before diff --git a/tests/extrac03.sh b/tests/extrac03.sh index 49cf46d..e223094 100755 --- a/tests/extrac03.sh +++ b/tests/extrac03.sh @@ -1,14 +1,33 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before set -e mkdir directory -tar cfv archive directory/../directory +tar -cPvf archive directory/../directory echo ----- -tar xfv archive +tar -xPvf archive out="\ directory/../directory/ diff --git a/tests/extrac04.sh b/tests/extrac04.sh index 6385a7f..ea1fe75 100755 --- a/tests/extrac04.sh +++ b/tests/extrac04.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before diff --git a/tests/gzip.sh b/tests/gzip.sh index 565afd6..68ce48d 100755 --- a/tests/gzip.sh +++ b/tests/gzip.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset TAR_ARCHIVE_FORMATS=auto . $srcdir/before diff --git a/tests/ignfail.sh b/tests/ignfail.sh index 32bb602..17b4f9b 100755 --- a/tests/ignfail.sh +++ b/tests/ignfail.sh @@ -1,12 +1,34 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before > check-uid set - x`ls -l check-uid` -if test $3 = root; then +uid_name="$3" +set - x`ls -ln check-uid` +uid_number="$3" +if test "$uid_name" = root || test "$uid_number" = 0; then # The test is meaningless for super-user. rm check-uid @@ -47,15 +69,15 @@ else err="\ ----- -tar: Cannot add file file: Permission denied +tar: file: Cannot open: Permission denied tar: Error exit delayed from previous errors ----- -tar: Cannot add file file: Permission denied +tar: file: Warning: Cannot open: Permission denied ----- -tar: Cannot add directory directory: Permission denied +tar: directory: Cannot savedir: Permission denied tar: Error exit delayed from previous errors ----- -tar: Cannot add directory directory: Permission denied +tar: directory: Warning: Cannot savedir: Permission denied " fi diff --git a/tests/incremen.sh b/tests/incremen.sh index fea59c8..7e05da6 100755 --- a/tests/incremen.sh +++ b/tests/incremen.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset TAR_ARCHIVE_FORMATS="gnu oldgnu" . $srcdir/before diff --git a/tests/multiv01.sh b/tests/multiv01.sh index 58682ce..8b29728 100755 --- a/tests/multiv01.sh +++ b/tests/multiv01.sh @@ -1,6 +1,25 @@ #! /bin/sh + # Test multivolume dumps from pipes. +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset TAR_ARCHIVE_FORMATS="gnu oldgnu" . $srcdir/before diff --git a/tests/old.sh b/tests/old.sh index cb25fdf..f488847 100755 --- a/tests/old.sh +++ b/tests/old.sh @@ -1,6 +1,25 @@ #! /bin/sh + # An old archive was not receiving directories. +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset TAR_ARCHIVE_FORMATS=auto . $srcdir/before diff --git a/tests/options.sh b/tests/options.sh index 118cd19..15f9216 100755 --- a/tests/options.sh +++ b/tests/options.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset TAR_ARCHIVE_FORMATS=auto . $srcdir/before diff --git a/tests/recurse.sh b/tests/recurse.sh index ad18e55..9a450a4 100755 --- a/tests/recurse.sh +++ b/tests/recurse.sh @@ -1,5 +1,23 @@ #! /bin/sh +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset . $srcdir/before diff --git a/tests/star/gtarfail.sh b/tests/star/gtarfail.sh index 16f5854..c32e13c 100755 --- a/tests/star/gtarfail.sh +++ b/tests/star/gtarfail.sh @@ -1,4 +1,22 @@ #! /bin/sh +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset star_prereq gtarfail.tar TAR_ARCHIVE_FORMATS=auto diff --git a/tests/star/gtarfail2.sh b/tests/star/gtarfail2.sh index 5db0557..8ae14f9 100755 --- a/tests/star/gtarfail2.sh +++ b/tests/star/gtarfail2.sh @@ -1,4 +1,22 @@ #! /bin/sh +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset star_prereq gtarfail2.tar TAR_ARCHIVE_FORMATS=auto diff --git a/tests/star/multi-fail.sh b/tests/star/multi-fail.sh index b1f9065..de6d73b 100755 --- a/tests/star/multi-fail.sh +++ b/tests/star/multi-fail.sh @@ -1,4 +1,22 @@ #! /bin/sh +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset star_prereq gnu-multi-fail-volume1.gtar star_prereq gnu-multi-fail-volume2.gtar diff --git a/tests/star/pax-big-10g.sh b/tests/star/pax-big-10g.sh index a982a50..2c49342 100755 --- a/tests/star/pax-big-10g.sh +++ b/tests/star/pax-big-10g.sh @@ -1,4 +1,22 @@ #! /bin/sh +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset star_prereq pax-big-10g.tar.bz2 TAR_ARCHIVE_FORMATS=auto diff --git a/tests/star/qucktest.sh b/tests/star/qucktest.sh index b85b96c..dda0bd8 100755 --- a/tests/star/qucktest.sh +++ b/tests/star/qucktest.sh @@ -1,4 +1,22 @@ #! /bin/sh +# This file is part of GNU tar testsuite. +# Copyright (C) 2004 Free Software Foundation, Inc. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset star_prereq ustar-all-quicktest.tar star_prereq quicktest.filelist diff --git a/tests/version.sh b/tests/version.sh index ad15b94..c9c8674 100755 --- a/tests/version.sh +++ b/tests/version.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset if test -n "`$PACKAGE --version | sed -n s/$PACKAGE.*$VERSION/OK/p`"; then diff --git a/tests/volume.sh b/tests/volume.sh index 4aafc35..caa0dc9 100755 --- a/tests/volume.sh +++ b/tests/volume.sh @@ -1,6 +1,25 @@ #! /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. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2, or (at your option) +# any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + . ./preset TAR_ARCHIVE_FORMATS="gnu oldgnu" . $srcdir/before -- 2.45.2