From 4cb8697f609e43050fe972b3b4a50f2faf04153d Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Mon, 22 Mar 2004 09:17:48 +0000 Subject: [PATCH] Use genfile instead of dd --- tests/listed01.sh | 2 +- tests/multiv01.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/listed01.sh b/tests/listed01.sh index 8d16b58..df01898 100755 --- a/tests/listed01.sh +++ b/tests/listed01.sh @@ -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 diff --git a/tests/multiv01.sh b/tests/multiv01.sh index 9f3bf6c..58682ce 100755 --- a/tests/multiv01.sh +++ b/tests/multiv01.sh @@ -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 \ -- 2.45.2