mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
260: fix dd arguments
dd should not have count argument because it suposed to work untill ENOSPC. Also it is reasonable to log dd's output, do that for both 269'th and 270'th tests Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
committed by
Christoph Hellwig
parent
8e8f546cfa
commit
d02aebc9bb
@@ -53,8 +53,8 @@ _workout()
|
||||
for ((i=0; i < num_iterations; i++))
|
||||
do
|
||||
# File will be opened with O_TRUNC each time
|
||||
dd if=/dev/zero of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M count=1 \
|
||||
> /dev/null 2>&1
|
||||
dd if=/dev/zero of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M \
|
||||
>> $here/$seq.full 2>&1
|
||||
sleep $enospc_time
|
||||
done
|
||||
kill $pid
|
||||
|
||||
Reference in New Issue
Block a user