X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fvolume.sh;h=caa0dc9c78df2ea384f703bc29d03ef2dcbe6a23;hb=81460a034950f1b72de86a8ee12e6ed7b65f9707;hp=b8dad196dd58eb0e7044639590b06db8a2b5a99e;hpb=c1580fb4c9dcdc5d21abe36db0d7bb3b08456d6f;p=chaz%2Ftar diff --git a/tests/volume.sh b/tests/volume.sh index b8dad19..caa0dc9 100755 --- a/tests/volume.sh +++ b/tests/volume.sh @@ -1,10 +1,30 @@ #! /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 -tar cfVT archive label /dev/null || exit 1 +tar -cf archive -V label -T /dev/null || exit 1 tar xfV archive label || exit 1 tar xfV archive 'la?el' || exit 1