From: Zhilong Liu Date: Fri, 2 Feb 2018 06:10:48 +0000 (+0800) Subject: mdadm/clustermd_tests: add nobitmap in check X-Git-Tag: mdadm-4.1-rc1~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7331a11589a0c18ae738c075b20e2425969fa65;p=thirdparty%2Fmdadm.git mdadm/clustermd_tests: add nobitmap in check Signed-off-by: Zhilong Liu Signed-off-by: Jes Sorensen --- 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