diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-12-07 14:34:15 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2006-12-07 14:34:15 +0000 |
commit | e35d05b1d2ecfb5acea961b60706e25c77c01949 (patch) | |
tree | 7684bcbeecc968e3ce82e78b386cda90a2cbdb39 /tests/truncate.at | |
parent | cdb77dcd7b6af6ea7ac0e042e2980cc0dd815281 (diff) | |
download | tar-e35d05b1d2ecfb5acea961b60706e25c77c01949.tar.gz |
Use genfile instead of dd, because on some systems /dev/zero is not available.
Diffstat (limited to 'tests/truncate.at')
-rw-r--r-- | tests/truncate.at | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/truncate.at b/tests/truncate.at index bb4a4325..3d2e6702 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 |