浏览代码

Use genfile instead of mksparse

Sergey Poznyakoff 20 年之前
父节点
当前提交
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