mirror of
https://github.com/schoebel/mars
synced 2024-12-16 11:45:10 +00:00
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:
parent
76c7545dde
commit
c2a054cdb6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user