]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
260: fix dd arguments
authorDmitry Monakhov <dmonakhov@openvz.org>
Tue, 8 Nov 2011 08:41:54 +0000 (12:41 +0400)
committerChristoph Hellwig <hch@lst.de>
Thu, 10 Nov 2011 11:17:00 +0000 (11:17 +0000)
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>
269
270

diff --git a/269 b/269
index 61e83ad1edd7711afc29f2d89630a3c7b3dcd4aa..206492b5314c7f047d7836c8b057d358ac003d95 100755 (executable)
--- 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 90e24f51562ee6743d990524990c83663121a1ee..29700fb024c8df9c01f3c3681f4cdb5bb143e7ab 100755 (executable)
--- 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