test_suite: fix don't use oflag=direct

In the test test_suite/mars/test_cases/admin/datadev_full oflag=direct leads
to abort of the dd with "invalid argument" in the second call to
datadev_full_dd_on_device in the loop in resize_check_resize_post_conditions.
This commit is contained in:
Frank Liepold 2014-03-12 15:21:38 +01:00 committed by Thomas Schoebel-Theuer
parent 76c7545dde
commit c2a054cdb6

View File

@ -61,7 +61,7 @@ function datadev_full_dd_on_device
lib_vmsg " filling $dev on $host (bs=$bs, count=$count)"
dd_out=($(lib_remote_idfile $host \
"yes $(printf '%0.1024d' $control_nr) | dd of=$dev oflag=direct bs=$bs conv=notrunc count=$count 2>&1"))
"yes $(printf '%0.1024d' $control_nr) | dd of=$dev bs=$bs conv=notrunc count=$count 2>&1"))
rc=$?
if [ $should_fail -eq 1 ]; then
if [ $rc -eq 0 ]; then