X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=tests%2Fsparse01.sh;h=15a06663aecb15c07cc8efff03cb9223722d2e61;hb=6b401f904a5a35167a05cb1d820c140add479092;hp=05f7cc6b764d44daee0c86fe713813c2a318d8e0;hpb=ad2c53d6262ef55c3a457ba8901ee857b80a7fac;p=chaz%2Ftar diff --git a/tests/sparse01.sh b/tests/sparse01.sh index 05f7cc6..15a0666 100755 --- a/tests/sparse01.sh +++ b/tests/sparse01.sh @@ -1,7 +1,4 @@ #! /bin/sh - -# Check sparse file handling. - # This file is part of GNU tar testsuite. # Copyright (C) 2004 Free Software Foundation, Inc. # @@ -20,13 +17,15 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA # 02111-1307, USA. +# Check sparse file handling. + . ./preset TAR_ARCHIVE_FORMATS="gnu oldgnu posix" . $srcdir/before genfile --length 1000 > begin genfile --length 1000 > end -mksparse sparsefile 512 0 ABCD 1M EFGH 2000K IJKL +genfile --sparse --file sparsefile --block-size 512 0 ABCD 1M EFGH 2000K IJKL tar -c -f archive --sparse begin sparsefile end echo separator