diff options
author | Neil Brown <neilb@suse.de> | 2005-09-12 08:47:33 +0200 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2005-09-12 08:47:33 +0200 |
commit | 0ba1565f10dec0a10fd24c23e0cb5a36e721ce3b (patch) | |
tree | 872cb3705829124803eb6b67e98c4148e4274c8d | |
parent | Fix byteordr covnerion ofr 'events' that was '32' instead of '64' (diff) | |
download | mdadm-0ba1565f10dec0a10fd24c23e0cb5a36e721ce3b.tar.xz mdadm-0ba1565f10dec0a10fd24c23e0cb5a36e721ce3b.zip |
Refine some tests.
Signed-off-by: Neil Brown <neilb@suse.de>
-rw-r--r-- | test | 2 | ||||
-rw-r--r-- | tests/01r5fail | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -78,7 +78,7 @@ check() { echo >&2 "ERROR active $1 not found" ; cat /proc/mdstat ; exit 1;} ;; resync | recovery ) - sleep 0.1 + sleep 0.5 grep -s $1 /proc/mdstat > /dev/null || { echo >&2 ERROR no $1 happening; cat /proc/mdstat; exit 1; } ;; diff --git a/tests/01r5fail b/tests/01r5fail index 89cd5615..1d629321 100644 --- a/tests/01r5fail +++ b/tests/01r5fail @@ -6,7 +6,8 @@ mdadm -CR $md0 -l5 -n4 $dev0 $dev1 $dev2 $dev3 check recovery -mdadm $md0 --fail $dev3 +mdadm $md0 --fail $dev3 +sleep 1 check nosync check state UUU_ |