summaryrefslogtreecommitdiffstats
path: root/tests/07testreshape5
diff options
context:
space:
mode:
Diffstat (limited to 'tests/07testreshape5')
-rw-r--r--tests/07testreshape53
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/07testreshape5 b/tests/07testreshape5
index 0360988..4a9c0df 100644
--- a/tests/07testreshape5
+++ b/tests/07testreshape5
@@ -27,11 +27,12 @@ do
# test save
dd if=/dev/urandom of=$md0 bs=1024 count=$size
- blockdev --flushbufs $md0 $devs
+ blockdev --flushbufs $md0 $devs; sync
> /tmp/NewRand
$dir/test_stripe save /tmp/NewRand $disks $[chunk*1024] 5 $nlayout 0 $[size*1024] $devs
cmp -s -n $[size*1024] $md0 /tmp/NewRand || { echo cmp failed ; exit 2; }
mdadm -S $md0
+ udevadm settle
done
done
done