Explorar el Código

Use genfile instead of mksparse

Sergey Poznyakoff hace 20 años
padre
commit
6b401f904a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      tests/sparse01.sh

+ 1 - 1
tests/sparse01.sh

@@ -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