X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=tests%2Fdelete02.sh;h=60f20edc5bd4b3e06e9d9242f3f43080a41ee6dc;hb=0500b1ba3e8a8e61149a314e67093696f5472f88;hp=c202cac9de8c97c51a76289676585c07fbf710db;hpb=1a110ed9decd5c7bfe90ba52d132f7732769424f;p=chaz%2Ftar 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