X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;ds=sidebyside;f=tests%2Flisted01.sh;h=029369e1bd83ac607e811d2f01d189e415f731c4;hb=68bd7ac50a26c795ba9cbaa9d18e26c35f10c09c;hp=5828f82050438f260b926c72b8318702ab45a0ee;hpb=9e0d0592059515045e12e50e7fbad8271d243e14;p=chaz%2Ftar diff --git a/tests/listed01.sh b/tests/listed01.sh index 5828f82..029369e 100755 --- a/tests/listed01.sh +++ b/tests/listed01.sh @@ -1,8 +1,4 @@ #! /bin/sh - -# Check if listed-incremental backups work for individual files. -# Script proposed by Andreas Schuldei - # This file is part of GNU tar testsuite. # Copyright (C) 2004 Free Software Foundation, Inc. # @@ -21,12 +17,17 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. +# Check if listed-incremental backups work for individual files. +# Script proposed by Andreas Schuldei +# References: <20040215014223.GA9699@lukas.schuldei.com> +# http://lists.gnu.org/archive/html/bug-tar/2004-02/msg00011.html + . ./preset +TAR_ARCHIVE_FORMATS="gnu oldgnu" . $srcdir/before -prereq gnu oldgnu mkdir directory -dd if=/dev/zero of=directory/file1 bs=1024 count=10 2>/dev/null +genfile --length 10240 --pattern zeros > directory/file1 # Let the things settle sleep 1