X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Fincremen.sh;h=7e05da66592b9f77d14012985632a33772ed33ca;hb=82eff37f6fbf853b4f32bdc0ef822192c0a31b91;hp=40adbf81ccf32e22a03cf10841af3a898a96cdb5;hpb=a86cdfa58b6dfc99401877d1f11ea385b2ff0b7b;p=chaz%2Ftar diff --git a/tests/incremen.sh b/tests/incremen.sh index 40adbf8..7e05da6 100755 --- a/tests/incremen.sh +++ b/tests/incremen.sh @@ -1,7 +1,27 @@ #! /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 set -e @@ -22,12 +42,12 @@ ls -l structure/file >/dev/null # backing it up. sleep 1 -tar cf archive --format=gnu --listed=list structure -tar cfv archive --format=gnu --listed=list structure +tar cf archive --listed=list structure +tar cfv archive --listed=list structure echo ----- sleep 1 echo y >structure/file -tar cfv archive --format=gnu --listed=list structure +tar cfv archive --listed=list structure out="\ structure/