Use genfile instead of dd

This commit is contained in:
Sergey Poznyakoff
2004-03-22 09:17:48 +00:00
parent 6bd7b64c78
commit 4cb8697f60
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ TAR_ARCHIVE_FORMATS="gnu oldgnu"
. $srcdir/before
mkdir directory
dd if=/dev/zero of=directory/file1 bs=1024 count=10 2>/dev/null
genfile --length 10240 --pattern zeros > directory/file1
# Let the things settle
sleep 1

View File

@@ -10,7 +10,7 @@ TAR_ARCHIVE_FORMATS="gnu oldgnu"
# TRUSS=strace
set -e
dd if=/dev/zero bs=1024 count=7 2>/dev/null >file1
genfile --length 7168 > file1
for block in " 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" \
" 9" "10" "11" "12" "13" "14" "15" "16" ; do \