diff options
author | Zhilong Liu <zlliu@suse.com> | 2018-02-02 07:10:48 +0100 |
---|---|---|
committer | Jes Sorensen <jsorensen@fb.com> | 2018-03-08 20:30:15 +0100 |
commit | f7331a11589a0c18ae738c075b20e2425969fa65 (patch) | |
tree | b9e2323d0747e80193cadb477e627c0881c4bb75 /clustermd_tests | |
parent | mdadm/test: add do_clean to ensure each case only catch its own testlog (diff) | |
download | mdadm-f7331a11589a0c18ae738c075b20e2425969fa65.tar.xz mdadm-f7331a11589a0c18ae738c075b20e2425969fa65.zip |
mdadm/clustermd_tests: add nobitmap in check
Signed-off-by: Zhilong Liu <zlliu@suse.com>
Signed-off-by: Jes Sorensen <jsorensen@fb.com>
Diffstat (limited to 'clustermd_tests')
-rw-r--r-- | clustermd_tests/func.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clustermd_tests/func.sh b/clustermd_tests/func.sh index 5c0b1684..329f6103 100644 --- a/clustermd_tests/func.sh +++ b/clustermd_tests/func.sh @@ -284,6 +284,13 @@ check() die "$ip: no '$2' found in /proc/mdstat." done ;; + nobitmap ) + for ip in ${NODES[@]} + do + ssh $ip "grep -sq 'bitmap' /proc/mdstat" && + die "$ip: 'bitmap' found in /proc/mdstat." + done + ;; chunk ) for ip in ${NODES[@]} do |