From: Dmitry Monakhov Date: Tue, 8 Nov 2011 08:41:54 +0000 (+0400) Subject: 260: fix dd arguments X-Git-Tag: v2022.05.01~3649 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=d02aebc9bba4385c5cc153f3975a88cbeacb11a2;p=xfstests-dev.git 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 Signed-off-by: Christoph Hellwig --- diff --git a/269 b/269 index 61e83ad1..206492b5 100755 --- a/269 +++ b/269 @@ -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 diff --git a/270 b/270 index 90e24f51..29700fb0 100755 --- a/270 +++ b/270 @@ -66,7 +66,7 @@ _workout() # File will be opened with O_TRUNC each time su $qa_user -c "dd if=/dev/zero \ of=$SCRATCH_MNT/SPACE_CONSUMER bs=1M " \ - > /dev/null 2>&1 + >> $here/$seq.full 2>&1 sleep $enospc_time done