4
0
Эх сурвалжийг харах

Use genfile instead of mksparse

Sergey Poznyakoff 20 жил өмнө
parent
commit
6b401f904a
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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