diff options
author | NeilBrown <neilb@suse.de> | 2009-10-20 08:02:53 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-10-20 08:02:53 +1100 |
commit | 1dfcc211b1c6c319c329e41720d61a2582319d21 (patch) | |
tree | 899a98bcf80d4d03319f150ecf585b0e23311484 | |
parent | 151ea1a33d324e27a1c7ca3cb9c95e80b968353f (diff) | |
download | mdadm-1dfcc211b1c6c319c329e41720d61a2582319d21.tar.gz mdadm-1dfcc211b1c6c319c329e41720d61a2582319d21.tar.xz mdadm-1dfcc211b1c6c319c329e41720d61a2582319d21.zip |
testreshape5 fixes.
We seem to need a 'udevadm settle', and possibly the 'sync'..
Signed-off-by: NeilBrown <neilb@suse.de>
-rw-r--r-- | tests/07testreshape5 | 3 |
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 |