From: Sergey Poznyakoff Date: Thu, 7 Dec 2006 14:34:15 +0000 (+0000) Subject: Use genfile instead of dd, because on some systems /dev/zero is not available. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=e35d05b1d2ecfb5acea961b60706e25c77c01949;p=chaz%2Ftar Use genfile instead of dd, because on some systems /dev/zero is not available. --- diff --git a/tests/truncate.at b/tests/truncate.at index bb4a432..3d2e670 100644 --- a/tests/truncate.at +++ b/tests/truncate.at @@ -36,7 +36,7 @@ genfile --run 'tar -vcf bar foo baz' --checkpoint 10 --length 49995k --truncate echo Exit status: $? echo separator sleep 1 -dd if=/dev/zero of=foo bs=1024 seek=49995 count=5 >/dev/null 2>&1 +genfile --file foo --seek 49995k --length 5k --pattern=zeros tar dvf bar], [1], [foo