X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=tests%2Flisted01.sh;h=029369e1bd83ac607e811d2f01d189e415f731c4;hb=54e4a0df6506b2a8c60f28c42bc1a02093a3c026;hp=8ed074ac692295f8b6da46d8e48871d4813c872b;hpb=985199c260079df04b80e3b3db25d123b3e61b1d;p=chaz%2Ftar diff --git a/tests/listed01.sh b/tests/listed01.sh index 8ed074a..029369e 100755 --- a/tests/listed01.sh +++ b/tests/listed01.sh @@ -1,7 +1,4 @@ #! /bin/sh - -# Check if listed-incremental backups work for individual files. - # This file is part of GNU tar testsuite. # Copyright (C) 2004 Free Software Foundation, Inc. # @@ -20,11 +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 -. $srcdir/before gnu oldgnu +TAR_ARCHIVE_FORMATS="gnu oldgnu" +. $srcdir/before 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