X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=tests%2Fincremen.sh;h=fea59c83dc7e11b9b6241d214bbe5f0490cff216;hb=f5461e304cf4a9a7be2cd8d6710f565996f7b567;hp=40adbf81ccf32e22a03cf10841af3a898a96cdb5;hpb=a86cdfa58b6dfc99401877d1f11ea385b2ff0b7b;p=chaz%2Ftar diff --git a/tests/incremen.sh b/tests/incremen.sh index 40adbf8..fea59c8 100755 --- a/tests/incremen.sh +++ b/tests/incremen.sh @@ -2,6 +2,7 @@ # A directory older than the listed entry was skipped completely. . ./preset +TAR_ARCHIVE_FORMATS="gnu oldgnu" . $srcdir/before set -e @@ -22,12 +23,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/