summaryrefslogtreecommitdiff
path: root/tests/07reshape5intr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/07reshape5intr')
-rw-r--r--tests/07reshape5intr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/07reshape5intr b/tests/07reshape5intr
index 71ef2c78..0f4803ac 100644
--- a/tests/07reshape5intr
+++ b/tests/07reshape5intr
@@ -31,7 +31,7 @@ do
echo 1000 > /proc/sys/dev/raid/speed_limit_min
echo 2000 > /proc/sys/dev/raid/speed_limit_max
check wait
- echo check > /sys/block/md0/md/sync_action
+ while ! echo check > /sys/block/md0/md/sync_action; do sleep 0.1; done
check wait
mm=`cat /sys/block/md0/md/mismatch_cnt`
if [ $mm -gt 0 ]