diff options
author | NeilBrown <neilb@suse.de> | 2013-06-24 07:57:58 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-06-24 07:57:58 +0200 |
commit | 35698c6e91e7755bbe520ca2adc79b3aa32ca9af (patch) | |
tree | 33797f111bf5107609a68139dd42277af19dc037 /test | |
parent | test/00names: use appropriate mdadm.conf (diff) | |
download | mdadm-35698c6e91e7755bbe520ca2adc79b3aa32ca9af.tar.xz mdadm-35698c6e91e7755bbe520ca2adc79b3aa32ca9af.zip |
tests: add test for converting levels to raid0 and back.
Now that I have this mostly working, I should make sure
it doesn't break...
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'test')
-rwxr-xr-x | test | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -138,6 +138,10 @@ check() { grep -s "active $1 " /proc/mdstat > /dev/null || { echo >&2 "ERROR active $1 not found" ; cat /proc/mdstat ; exit 1;} ;; + algorithm ) + grep -s " algorithm $2 " /proc/mdstat > /dev/null || { + echo >&2 "ERROR algorithm $2 not found"; cat /proc/mdstat; exit 1;} + ;; resync | recovery | reshape) sleep 0.5 grep -s $1 /proc/mdstat > /dev/null || { |