X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=tests%2Fdelete02.sh;h=2a1df389b440bcde45ea2d4f017bb5626ad5d5f4;hb=6b401f904a5a35167a05cb1d820c140add479092;hp=c202cac9de8c97c51a76289676585c07fbf710db;hpb=1a110ed9decd5c7bfe90ba52d132f7732769424f;p=chaz%2Ftar diff --git a/tests/delete02.sh b/tests/delete02.sh index c202cac..2a1df38 100755 --- a/tests/delete02.sh +++ b/tests/delete02.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. + # Deleting a member with the archive from stdin was not working correctly. . ./preset @@ -12,7 +30,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