]> Dogcows Code - chaz/tar/blobdiff - tests/sparse01.sh
Use genfile instead of mksparse
[chaz/tar] / tests / sparse01.sh
index f49eaa787a783fd226f20c2bacbb82defdb774ef..15a06663aecb15c07cc8efff03cb9223722d2e61 100755 (executable)
@@ -25,7 +25,7 @@ TAR_ARCHIVE_FORMATS="gnu oldgnu posix"
 
 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
 
This page took 0.021348 seconds and 4 git commands to generate.